Commit Graph
1463 Commits
Author SHA1 Message Date
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
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 014d9e8481 fix: use vk::Fence::null on non-Windows swapchain (#9878) 2026-07-16 16:16:17 +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 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
teoxoy 995ee7b3f1 add Limits::max_buffers_and_acceleration_structures_per_shader_stage 2026-07-01 14:43:44 -04:00
lizelive 0853e7bdc1 fix: gate on static_dxc not static-dxc (#9785) 2026-07-01 17:18:48 +00:00
Andy Leiserson 8042314262 fix(hal): Clear query state on reused encoders (#9770) 2026-06-29 23:37:49 -04:00
VecvecandConnor Fitzgerald a03be8d223 [msl] Make ray queries safer (#9442)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-06-29 22:27:03 +00:00
Stuart Parmenter cf2dbfd40f Add display HDR query (Surface::display_hdr_info): DX12, Vulkan, Metal, Web (#9739) 2026-06-29 18:13:31 -04:00
Máté Homolya bf5c6cff4e Implement bindless buffers on metal (#9081) 2026-06-29 17:21:43 -04:00
Holger Trahe 2374e16ab9 Fixed partially-bound texture and storage-texture binding arrays (PAR… (#9653) 2026-06-29 15:04:06 -04:00
Francis De Brabandere 56535d7d90 fix(vulkan): enable vulkanMemoryModelDeviceScope with the memory model (#9741) 2026-06-28 22:26:49 -04:00
Stuart Parmenter 3fb225a9c6 Add surface color-space selection (HDR output): Vulkan, DX12, Metal, WebGPU (#9658) 2026-06-26 03:52:05 +00:00
Andy Leiserson 7909dfc22b fix(vulkan): Disable memory budget on radv
For #9742
2026-06-25 22:17:07 -04:00
Andy Leiserson 8e6abb5662 refactor(vulkan): Create a helper to match driver IDs 2026-06-25 22:17:07 -04:00
Stuart Parmenter c3ff2672c2 fix(hal): derive Debug for PipelineGroupData (#9748) 2026-06-26 00:20:49 +00:00
Kevin Reid 156741bcb2 Add Debug implementations and missing_debug_implementations lint. (#9744) 2026-06-25 18:57:47 -04:00
VecvecandConnor Fitzgerald 743ac1f084 Hal ray tracing pipelines (#9464)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-06-25 18:53:10 -04:00
Aelin 2a05cf760b wgpu-hal: vulkan: Fix compilation for time64 systems (#9736) 2026-06-24 16:36:54 +00:00
Luo Zhihao c841633bb3 Bring transient attachment in line with webgpu spec (#9568) 2026-06-18 18:28:52 -07:00
Teoxoy fff80cd7a3 [metal] fix end_query, the offset must match the slot 2026-06-17 11:53:01 -07:00
Teoxoy 79dc7b355e [metal] remove impl of reset_queries
Setting the slots to 0 for occlusion query sets is not necessary since
wgpu-core keeps track of slot initialization state.
2026-06-17 11:53:01 -07:00
Teoxoy ef9974f9c4 [metal] don't advertise TIMESTAMP_QUERY_INSIDE_ENCODERS on Apple GPUs
From my testing the workaround on Apple GPUs is now always writing 0.
2026-06-17 11:53:01 -07:00