Commit Graph
1671 Commits
Author SHA1 Message Date
Stuart ParmenterandConnor Fitzgerald 786ecb9c4f Add raw_handle method on vulkan::AccelerationStructure (#10187)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-08-30 17:30:56 +00:00
07132f4440 Implement texture-component-swizzle (#9553)
Co-authored-by: Inner Daemons <85136135+inner-daemons@users.noreply.github.com>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-08-30 03:49:16 -04:00
Connor Fitzgerald fae070bf21 Convert wiki and api-specs into documentation modules (#9779) 2026-08-29 18:59:58 -04:00
Stuart Parmenter b82df96eb3 Allow chaining extension structs onto VkSwapchainCreateInfoKHR and VkSubmitInfo (#10095) 2026-08-29 16:19:38 -04:00
Zac Harrold aa9d8af9f5 wgpu-hal: use wgpu-sync for atomics 2026-08-28 20:37:31 -04:00
AdrianEddy a148f96e20 feat(webgl): Add ability to interop with external textures (#9834) 2026-08-28 21:18:35 +00:00
Vecvec 68d122e9e7 Optimise Tlas building (#9961) 2026-08-28 20:56:59 +00:00
Luo ZhihaoandConnor Fitzgerald 4d749308e6 Fix separate depth stencil read-only state (#9763)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-08-28 15:31:26 +00:00
Andy Leiserson 1f782a55ae fix(hal/vulkan): Respect InstanceFlags::DISCARD_HAL_LABELS (#10121) 2026-08-27 06:35:08 -04:00
Stuart Parmenter 18da915b3c fix(metal): Add missing indirection when resolving color space constants (#10175) 2026-08-26 12:19:55 -07:00
Erich Gubler 48d3a109b6 Panic on unrecognized composite alpha mode on Metal in HAL (#10070) 2026-08-21 16:13:25 +00:00
Zac Harrold 1e0a1b8783 wgpu-hal: Use wgpu-sync for LazyLock and OnceLock Functionality
Replaces both `std::sync` and `once_cell` usage.
2026-08-19 08:16:01 -07:00
Nico BurnsandErich Gubler f32f76dcb1 Advertise PreMultipled rather than PostMultiplied alpha for metal backend (#9922)
Signed-off-by: Nico Burns <nico@nicoburns.com>
Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
2026-08-18 10:48:42 -04:00
Zac Harrold 8ee190c6f1 Remove wgpu_hal::gles::MaybeMutex
Can replace with `wgpu_sync::Mutex`
2026-08-17 20:25:53 -07:00
Emil Ernerfeldt a6caee7084 Gate @interpolate(linear) behind a downlevel flag (#9972) 2026-08-16 12:11:15 +00:00
Jim Blandy 61040094ef docs: Improve documentation of submission processing
Improve internal documentation for:

- `wgpu_core::device::queue::PendingSubmission`
- `wgpu_core::device::Device::is_valid` and `check_is_valid`
- `wgpu_core::device::Device::maintain`
- `wgpu_hal::vulkan::Queue::submit`
2026-08-14 18:59:00 -07:00
Zac Harrold 8573e7a44e [wgpu-hal]: Switch to wgpu-sync for locking primitives 2026-08-14 20:47:05 -04:00
Alexander BruunandConnor Fitzgerald 8c30789740 feat(vulkan): allow specifying queue family ownership transfer in texture barriers (#9668)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-08-14 23:27:28 +00:00
scroixandBlueJayLouche 3b9619f513 [gles] Avoid duplicate EGL surface type attributes (#10048)
Co-authored-by: BlueJayLouche <bluejaylouche@gmail.com>
2026-08-14 18:27:04 -04:00
Stuart Parmenter 1d92fee75a Allow chaining extension structs onto VkPresentInfoKHR at present time (#9847) 2026-08-14 17:53:15 -04:00
Inner Daemons 8a15a9caef Fix max_task_workgroup_count limit checking for Apple2 instead of Apple7 (#10065) 2026-08-14 05:31:11 -04:00
Teodor Tanasoaia 80c257b497 [metal] fix bindgroup resources being bound incorrectly (#10043) 2026-08-12 15:05:57 +00:00
Andy Leiserson 02ba1be5b3 test: Don't panic on Vulkan validation errors on Mac
#9879 added a panic on Vulkan validation errors when the
`internal_error_panic` feature is active. This disables
that on Mac, because it's too noisy.
2026-08-12 11:54:08 +02:00
Andy Leiserson 2ea5880317 fix(vulkan): Remove extra restriction in OOM check (#9838) 2026-08-12 05:53:11 -04:00
Teodor Tanasoaia 6aa5fe71f5 [d3d12] initialize padding of intermediary buffers used for texture to buffer copies (#10005) 2026-08-06 15:21:19 +02:00
Kevin Reid 9f5c71ffb9 Make ForceShaderModelToken’s functions const. 2026-08-03 06:34:29 -04:00
Andy Leiserson 9c05b85ce5 fix(hal/vulkan): Use queue family index modified by device open callback (#9965) 2026-08-03 06:19:50 -04:00
Rui He a37b252881 fix(vulkan): build pipeline barrier based on queue family properties (#9594) 2026-07-25 18:01:30 +00:00
ozongziandErich Gubler 8b419de090 hal/vulkan: add OpenHarmony surface support (#9908)
Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
2026-07-24 07:46:03 -04:00
Erich Gubler d9423aa657 refactor(hal): move raw-gles' glutin deps section (#9925) 2026-07-22 17:26:57 +02:00
Luo Zhihao 0ae95c7365 Fix flush_immediates out of range (#9906) 2026-07-20 19:38:08 +00:00
Andy Leiserson ef79a923cf hal/vulkan: With internal_error_panic, panic on Vulkan validation errors (#9879) 2026-07-17 12:41:57 -07:00
Kevin Reid 888e749799 Rename TextureFormat::is_srgb() to has_srgb_suffix(). (#9758) 2026-07-16 20:29:00 +00:00
Erich Gubler d73f0e5315 build: consume cfg_aliases 0.2.2 (#9885) 2026-07-16 15:39:48 -04:00
Erich Gubler 014d9e8481 fix: use vk::Fence::null on non-Windows swapchain (#9878) 2026-07-16 16:16:17 +00:00
Erich Gubler 15d817e404 Suppress semicolon_in_expressions_from_macros lint in build scripts (#9884) 2026-07-16 15:43:51 +00:00
Nick Babcock 4e58833072 Add wasm64 backend support for the web
This commit:

- Bumps glow to 0.18 which gains support for wasm64
- Updates cfg gates from `target_arch = "wasm32"` to `target_family =
"wasm"`

This commit, unfortunately, does not touch upon example code as that
brings in getrandom 0.3 (0.4 supports wasm64) through flume and
futures-lite
2026-07-15 09:15:33 -07:00
Erich Gubler ee9f40c316 chore: remove package.authors in Cargo.toml (#9862) 2026-07-15 11:41:12 -04:00
Sir 7c39e70502 printing average frame time in examples/halmark when bunnies are spawned after first 100 frames (#9854) 2026-07-15 17:36:11 +02:00
Erich Gubler 04129aadaf style: change {dxgi,dyn}_lib from CRLF → LF (#9868) 2026-07-14 09:54:04 -07:00
Nazar Mokrynskyi 748cca689a Downgrde info log to debug (#9846) 2026-07-10 17:36:36 +00:00
Stuart Parmenter 48904f8e76 fix(metal): Gate ExtendedDisplayP3 color space to macOS 11.0+ (#9833) 2026-07-08 17:49:06 -04:00
csmoe 25b4cda524 Add angle as gl backend on Windows (#9422) 2026-07-08 13:56:53 -04:00
teoxoy 0efd6dd7ce move DynLib & DxgiLib into auxil 2026-07-08 14:57:01 +02:00
teoxoy 6ebe618540 [dxgi] lookup CreateDXGIFactory1 dynamically 2026-07-08 14:57:01 +02:00
Anton Wetzel 839bb0260f Replace expect usage on vulkan surface creation with returning an InstanceError (#9806) 2026-07-07 13:47:17 -04:00
Andy Leiserson 93e0097601 fix(metal): Resolve some color space constants dynamically (#9819) 2026-07-07 11:00:10 +02:00
Daniel Lehmann 270bd5d3ad [hal] Add BufferBinding::buffer read accessor (#9820) 2026-07-06 23:51:13 -04:00
Kevin Reid 8b6c34ee9b Always extern crate std when cfg(test). (#9817) 2026-07-06 23:48:52 -04:00
teoxoy 2ea3a1d41b [vulkan] advertise DownlevelFlags::SURFACE_VIEW_FORMATS if VK_KHR_swapchain is not available 2026-07-01 14:43:44 -04:00