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 Liu and Connor 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 Struck and Andreas 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 Parmenter and Connor 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 Zhihao and Connor 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 Bruun and Connor 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
ozongzi and Erich 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
Nazar Mokrynskyi
748cca689a
Downgrde info log to debug ( #9846 )
2026-07-10 17:36:36 +00:00
Anton Wetzel
839bb0260f
Replace expect usage on vulkan surface creation with returning an InstanceError ( #9806 )
2026-07-07 13:47:17 -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
Andy Leiserson
8042314262
fix(hal): Clear query state on reused encoders ( #9770 )
2026-06-29 23:37:49 -04: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
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
Kevin Reid
156741bcb2
Add Debug implementations and missing_debug_implementations lint. ( #9744 )
2026-06-25 18:57:47 -04:00
Vecvec and Connor 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