Commit Graph
666 Commits
Author SHA1 Message Date
HashimandConnor Fitzgerald 46176d45b1 Only wait for the Vulkan acquire fence for FIFO on Windows (#10714)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-11-06 15:54:47 +00:00
VecvecandConnor Fitzgerald 9e744954f7 [wgpu-core] Ray tracing pipelines (#10144)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-11-05 19:20:32 +00:00
Erich Gubler 837694b853 refactor: use explicit bit indices for Workarounds values (#10758) 2026-11-03 01:06:50 +00:00
MichaëlandMichaël DM 11c1f4b12c Add Features::UNRESTRICTED_BYTES_PER_ROW (#10619)
Co-authored-by: Michaël DM <micode@micorp.fr>
2026-10-30 15:33:16 +00:00
Andy Leiserson 49325ca0a1 feat(vulkan): External texture binding support (#10768) 2026-10-29 12:23:17 +00:00
Andy Leiserson 4e3916783a Remove wgpu features for indicating Vulkan extension availability (#10635) 2026-10-22 06:20:43 +00:00
Lexo Liu 6511b8f2da Revert "vulkan: work around Arm drivers ignoring negative viewport heights" (#10674) 2026-10-20 18:15:13 +00:00
Yilmaz Kiymaz a4b0f2257a [hal vulkan] Enable the depthBiasClamp feature when it is supported (#10566) 2026-10-16 13:53:30 +00:00
Simon Hausmann 14dd4e8f71 fix(vulkan): don't use timeline semaphores on VeriSilicon's driver (#10535) 2026-10-09 14:42:57 +00:00
superroket169 7b38991c62 test: move tests of the small crates into #[cfg(test)] modules (#10467) 2026-10-05 16:00:14 +00:00
Stuart Parmenter db0782e398 Use transient memory pool for compactable acceleration structures (#10233) 2026-10-03 00:17:04 +00:00
Luo Zhihao 573944a971 Vulkan: recover from fragmented descriptor pool allocation failures (#10264) 2026-10-02 21:35:31 +00:00
Stuart Parmenter 79348d63e6 Use separate Vulkan memory pool for TRANSIENT buffers (#10232) 2026-10-02 21:25:28 +00:00
Tom Schuster d1c95d96cd chore: Sort feature flags (#10475) 2026-09-29 02:42:40 +00:00
Vecvec 74e9e08cd3 [hal, vulkan] Include ray tracing pipeline stage when ray tracing pipelines are supported (#10445) 2026-09-27 04:41:54 +00:00
Parman Mohammadalizadeh 7c8eee4744 fix(hal/vulkan): make copy-only textures viewable (#10245) 2026-09-24 17:33:00 +00:00
Lexo LiuandConnor Fitzgerald 94d9f2424e vulkan: work around Arm drivers ignoring negative viewport heights (#10058)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-09-24 12:02:12 +00:00
f365d54803 implement debugPrintf in msl & spv (#9389)
Co-authored-by: atlv <email@atlasdostal.com>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-09-15 18:49:35 +00:00
Marcel StruckandAndreas Reich 3b3506ea31 Fix issue with surface drop panic (#10230)
Co-authored-by: Andreas Reich <r_andreas2@web.de>
2026-09-12 18:55:21 +00:00
Andy Leiserson 10fe6409d4 Partial snorm10-10-10-2 vertex format support (#10226) 2026-09-11 10:53:31 -04:00
Raph Levien 7a2c88d314 [vulkan] Fix interacting robust image access feature detection (#10291)
When the VK_EXT_robustness2 extension is present but reports robust image
access 2 not supported, fall back to checking VK_EXT_image_robustness for
robust image access 1 support instead of assuming no support for either
image robustness extension.
2026-09-10 17:26:38 -07:00
Andy Leiserson 107e2827f7 chore: Fix CRLF line endings (#10299) 2026-09-10 05:56:36 -04:00
Andy Leiserson fb93139671 feat: Support zero-size vertex and index buffer bindings
Fixes #3170
2026-09-08 15:07:15 -07:00
Andy Leiserson ea0afc6216 refactor: Parameterize type of hal::BufferBinding::size; resolve sizes in core
For storage and uniform buffer bindings, the size is a `wgt::BufferSize`
(`NonZeroU64`). For vertex and index buffer bindings, the size is a 
`wgt::BufferAddress` (regular `u64`).

Temporarily breaks some zero-size vertex/index binding cases that worked
before (end of buffer); will be resolved in an immediate follow-up
commit that fully implements zero-size vertex/index binding support.
2026-09-08 15:07:15 -07:00
Erich Gubler 9920c99c1d feat(core): add Limits::max_storage_{buffers,textures}_in_{vertex,fragment}_stage 2026-09-07 07:02:37 -04:00
Erich Gubler c044c86bc2 refactor: hoist max_storage_buffers_per_shader_stage above textures counterpart
This enforces spec. ordering in this one spot that doesn't follow it,
so it will make subsequent commits easier to follow.
2026-09-07 07:02:37 -04:00
JMS55 dd5c40b474 Support raytracing barycentrics for spirv, and fix spirv 1.4 handling for mesh and raytracing shaders (#10193) 2026-09-04 20:58:29 +00:00
Lucas Meurer 49afd3e380 Fix crash on older vulkan drivers when poolSizeCount == 0 (#10124) 2026-09-03 21:17:23 +02:00
d30e2dd6d6 fix(hal/vulkan): count textures created by create_texture (#10022)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
2026-09-01 10:47:44 +00:00
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
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
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
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
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
Stuart Parmenter 1d92fee75a Allow chaining extension structs onto VkPresentInfoKHR at present time (#9847) 2026-08-14 17:53:15 -04: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
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
Erich Gubler 014d9e8481 fix: use vk::Fence::null on non-Windows swapchain (#9878) 2026-07-16 16:16:17 +00:00