cohae and Connor Fitzgerald
25169c75e9
Vulkan: Don't wait for vkAcquireNextImage fence on non-Windows targets ( #9486 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2026-06-12 18:46:59 +00:00
Dzmitry Malyshau and Connor Fitzgerald
10f97e5777
Add emit_int_div_checks option to skip integer division safety wrappers ( #9443 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2026-06-12 18:31:24 +00:00
Jonathan Schwender
c402c1cae0
fix(vulkan): Fix libvulkan loading on ohos ( #9649 )
2026-06-10 11:34:11 -04:00
Andy Leiserson
dd007da02d
fix(vulkan): Make error_if_would_oom_on_resource_allocation more accurate ( #9643 )
2026-06-10 11:44:03 +02:00
teoxoy
e9b9a82981
add downlevel flag for BC || (ETC2 && ASTC)
2026-06-03 23:36:32 +02:00
Vecvec
a1fceed071
Move fence synchronisation into wgpu-hal ( #9475 )
2026-05-28 14:49:12 -07:00
AdrianEddy
cd80751e6b
[Vulkan] Add drop_guard to Buffer for externally owned buffers ( #9452 )
2026-05-03 16:53:29 +02:00
Neel Tamtam
2a9c23f607
Vulkan: Use Drop impl for swapchain and surface ( #9449 )
2026-04-29 23:29:45 +00:00
AdrianEddy
dc7f438bd0
[Vulkan/hal] Add Queue::add_wait_semaphore functions ( #9461 )
2026-04-29 18:57:02 -04:00
Willow Griffiths
c406a89bcf
Add raw_handle method on vulkan::Buffer ( #9459 )
2026-04-29 18:51:07 -04:00
Teodor Tanasoaia and Connor Fitzgerald
a03e86608d
[vk] implement our own descriptor allocator ( #9161 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2026-04-29 22:40:16 +00:00
JMS55
868eb17098
SHADER_I16 full support ( #9412 )
2026-04-24 20:49:41 -04:00
Vecvec
56e4a389dd
[spv-out] ray tracing pipelines ( #9085 )
2026-04-20 17:02:49 +02:00
teoxoy
4bbed4074c
add max_bind_groups_plus_vertex_buffers limit
2026-04-14 17:20:15 -07:00
teoxoy
2060683c29
make vertex buffer slots optional
2026-04-14 17:20:15 -07:00
Ivan Mironov
85a85d9092
Ignore maxFragmentCombinedOutputResources for Mesa's Honeykrisp driver ( #9393 )
2026-04-14 13:26:55 -04:00
atlas
d672184e54
feat(hal): Add Queue::wait_for_idle
2026-04-14 10:51:03 +02:00
Erich Gubler
10ce22b2ea
refactor!: subvert-rename dispatch* to dispatchWorkGroups* ( #9362 )
2026-04-11 20:58:22 +02:00
atlas
02e00a1f4d
fix(hal/vulkan): propagate wait_for_fence timeout
2026-04-10 17:11:07 +02:00
Jim Blandy
bf8330c20b
Make DRM support optional. ( #9390 )
2026-04-09 13:11:04 -07:00
countgitmick and Your Name
9d31bca996
feat(vulkan): add DMA-buf texture import on Linux ( #9366 )
...
Co-authored-by: Your Name <you@example.com >
2026-04-08 22:02:37 -04:00
countgitmick and Your Name
e25b34fbe2
refactor(vulkan): extract tiling parameter from create_image_without_memory ( #9365 )
...
Co-authored-by: Your Name <you@example.com >
2026-04-08 21:27:54 -04:00
sotaroikeda
a29a8fcf6e
Add Queue::remove_signal_semaphore() ( #9388 )
2026-04-08 09:50:40 +02:00
Inner Daemons and Andreas Reich
b5bd5aed7d
Mesh shaders MSL writer ( #8739 )
...
* Single squashed commit
* Updated changelog
* Fixed stupid changelog thing
* If I have to do this one more fucking time I'm gonna lose it
* Removed some pub(super)'s
* Thing
---------
Co-authored-by: Andreas Reich <r_andreas2@web.de >
2026-04-07 17:26:22 +00:00
Ali
74827c4181
Implements #9176 : [[max_total_threads_per_threadgroup]] MSL attribute ( #9327 )
...
* Implements #9176 : `[[max_total_threads_per_threadgroup]]` MSL attribute
* introduced `DownlevelFlags::MSL2_1`
2026-04-07 11:40:13 +02:00
Mohamed Taha GUELZIM
55093bf2d1
fix(wgpu-hal/vulkan): only request shaderDrawParameters when needed ( #9331 )
...
Backport of the fix to v29.0.1 for use via [patch.crates-io].
Fixes #9293 .
2026-03-30 15:52:33 +02:00
Andrew Wason
5bc99d51b7
Add support for RawWindowHandle::Drm/RawDisplayHandle::Drm to unix Vulkan ( #9182 )
2026-03-26 18:15:01 -04:00
Andy Leiserson and Teodor Tanasoaia
55b45559a7
feat(core): Limit bucketing
...
Co-authored-by: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com >
2026-03-23 18:25:15 -07:00
Niklas Eicker and Connor Fitzgerald
62c2f5da97
Move ordered usages to hals ( #8924 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2026-03-15 03:23:32 +00:00
Vecvec
50a4eaa75c
[vulkan] Offset AccelerationStructureGeometryTrianglesDataKHR::vertex_data instead of using first_vertex ( #9220 )
2026-03-14 22:30:09 -04:00
Andy Leiserson
ca3239e689
chore!: Move PRIMITIVE_INDEX feature into the WebGPU group ( #9101 )
...
Enable relevant CTS tests.
2026-03-13 13:52:14 -07:00
teoxoy
83c906f99f
[hal] add missing WebGPU adapter capability guarantees
2026-03-13 16:24:43 +01:00
teoxoy
a22e43991c
[vk] take into account maxDescriptorSet* limits when computing
...
per-stage limits
2026-03-13 16:24:43 +01:00
teoxoy
990e12ebbc
[wgpu-hal] report accurate maxBindingsPerBindGroup limits
2026-03-13 16:24:43 +01:00
teoxoy
3d637fa78d
[vk] lower relevant per stage limits to stay under Vulkan's
...
`maxPerSetDescriptors` limit
2026-03-13 16:24:43 +01:00
teoxoy
3f90204744
[vk] lower relevant per stage limits to stay under Vulkan's
...
`maxPerStageResources` limit
Fixes #9151 .
2026-03-13 16:24:43 +01:00
teoxoy
085fd3c565
[vk] consult maxMemoryAllocationSize & maxBufferSize
...
Fixes #3326 .
2026-03-13 16:24:43 +01:00
teoxoy
f06431f6de
[vk] fix limits
2026-03-13 16:24:43 +01:00
atlv
9ed77372b4
Add coherent and volatile memory decorations for storage buffers. ( #9168 )
2026-03-11 19:53:52 -04:00
Dzmitry Malyshau
adc3534f1c
Add max_binding_array_acceleration_structure_elements_per_shader_stage limit
2026-03-11 08:18:38 -07:00
Dzmitry Malyshau
e39b3aec8e
Plumbing and a test for ACCELERATION_STRUCTURE_BINDING_ARRAY
2026-03-11 08:18:38 -07:00
Erich Gubler
a18abddd33
refactor: use From or Into for u32 -> u64 casts
2026-03-09 16:49:06 -06:00
Genna Wingert
ce7dad3026
fix: Change type of max_*_buffer_binding_size to follow spec
2026-03-09 16:49:06 -06:00
Emil Ernerfeldt
12b9d4996b
macOS: Fix one-second delay when switching a wgpu app to the foreground ( #9141 )
2026-03-08 23:17:13 +01:00
Teodor Tanasoaia
e114d2f0a7
Add support for gaps in bind group layouts & update relevant validation ( #9034 )
...
* [wgpu-core] add support for optional BG & BGL entries
* [wgpu] allow gaps in bind group layouts
And allow unbinding in the web backend.
* adapt tests
* add changelog entry
* [wgpu] remove generic from `PipelineLayoutDescriptor`
2026-02-25 19:47:36 +01:00
Andy Leiserson
b09a919c6a
DepthStencilState validation fixes ( #8840 )
...
* Make `depth_compare` and `depth_write_enabled` optional
These fields are optional in the WebGPU API. Having them optional in the
wgpu API as well keeps validation logic centralized in wgpu-core.
Fixes #8830
* Remove `DepthStencilStateIdl`
2026-02-25 14:59:48 +01:00
Inner Daemons
8f50bb9d98
Make passthrough shaders non-experimental ( #9054 )
...
* Refactored passthrough shaders
* Added a changelog entry
2026-02-18 12:29:50 -05:00
Alexander Meißner
05861da365
[hal metal] ray tracing acceleration structures ( #8071 )
...
* Fixes index_buffer label in ray_traced_triangle example.
* Fixes min_push_constant_size in ray_shadows example.
* Ensures there always is Some() buffer reference, even for get_acceleration_structure_build_sizes().
* Updates CHANGELOG.
* Adds feature detection.
* Adds Capabilities Limits.
* Adds necessary objc2-metal features in Cargo.toml
* Sets raw_tlas_instance_size.
* Sets ray_tracing_scratch_buffer_alignment.
* Adds conv::map_index_format().
* Adds conv::map_acceleration_structure_descriptor().
* Implements AccelerationStructure.
* Implements resource binding.
squash with "Implements resource binding."
* Adds CommandState::acceleration_structure_builder.
* Implements CommandEncoder::copy_acceleration_structure_to_acceleration_structure().
* Implements CommandEncoder::build_acceleration_structures().
* Implements CommandEncoder::place_acceleration_structure_barrier().
* Implements CommandEncoder::read_acceleration_structure_compact_size().
* Implements Device::get_acceleration_structure_build_sizes().
* Implements Device::get_acceleration_structure_device_address().
* Implements Device::create_acceleration_structure().
* Implements Device::destroy_acceleration_structure().
* Implements Device::tlas_instance_to_bytes().
* Adds CommandEncoder::set_acceleration_structure_dependencies().
* Review feedback
2026-02-19 06:21:11 +13:00
Inner Daemons
6bca1014b2
Various SPIR-V fixes for mesh shaders ( #8756 )
...
* Initial commit adding miscellaneous changes from msl-write and hlsl-write
* Same as previous commit
* Fixed divergence issue
* Removed some unnecessary barriers
* Zero init workgroup memory
* Added limits validation
* Added changelog
* Handled overflow, removed todo
* Lets see if this fixes llvmpipe
* Also this commit fixes llvmpipe maybe
* Unfortunate but not too unexpected at this point
* Updated feature to say to use ShaderRuntimeChecks::unchecked()
* Updated snapshots and took some changes from the hlsl writer
* Snapshots
* 2 quick tweaks
* Updated framework with suggestions by Connor in #8752
* Moved the task runtime limits into naga::back
* Fixed soem stuff
* Fixed checks: >= into >
* Cant believe I forgot this
* Removed code using u64 to check stuff
* Removed thing with limiting it to 2<<21
* Some more work
* Fixed compiles
* Added new field to spv options
* Updated some stuff to pass around the task runtime limits in more ways
* New PR started
* Did another quick fix
* Another quick fix
* Added changelog entry
* Added some explanation docs
* Fixed a warning
* Fixed shader
* Fixed some things & added docs
* Reverted dxc thing
* Fixed thing
* Refactored to TaskDispatchLimits
* Fixed compile error
2026-02-12 14:47:42 -05:00
Inner Daemons
7609ed99e5
Add draw_id builtin ( #8883 )
2026-02-11 20:47:29 +00:00