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
e46eda2e4f
Full per_vertex implementation ( #9219 )
...
* Some stuff worked on
* Works on MSL
* Ready for test 2
* Fix for a thing lol
* Fixed 2 errors
* Fixed DXC
* Add changelog
* Updated CI to hopefully pass on macOS
* Various fixes
* Some final fixes
* CHanged CI
* Update naga/src/front/wgsl/parse/directive/enable_extension.rs
Co-authored-by: atlv <email@atlasdostal.com >
* Thing
---------
Co-authored-by: atlv <email@atlasdostal.com >
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2026-04-02 05:33:42 +00:00
Teodor Tanasoaia
3909348d0d
[d3d12] prefix enum variants with V instead of _ ( #9337 )
2026-03-30 18:03:40 +00: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
Kristoffer Søholm
f5bc1ffb06
Fix wrong binding array sampler limit in dx12 ( #9330 )
2026-03-29 16:36:10 -04:00
John Tur
5ccf829118
Add XCB display handle support to EGL backend
2026-03-28 12:59:19 +01:00
Andrew Wason
5bc99d51b7
Add support for RawWindowHandle::Drm/RawDisplayHandle::Drm to unix Vulkan ( #9182 )
2026-03-26 18:15:01 -04:00
Erich Gubler
da87026797
style: run prettier --write .
2026-03-25 12:46:54 -06:00
Umaĵo
83923e0e29
fix(gles): texture height initialized incorrectly in create_texture ( #9302 )
2026-03-25 15:48:15 +00:00
Andy Leiserson
9c5adb73a7
fix(types): Check that with_limits! is exhaustive ( #9294 )
2026-03-24 20:54:40 +00:00
Inner Daemons
a53ffffe38
Mesh shader HLSL writer ( #8752 )
2026-03-24 15:42:38 -04:00
Kevin Reid
1148bac37c
Convert comments on lint attributes to reasons. ( #9292 )
2026-03-24 18:58:52 +00:00
Andy Leiserson
0226d561c0
test: Limit bucketing tests
2026-03-23 18:25:15 -07: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
Andy Leiserson
f76801d8c1
fix(metal): Check respondsToSelector before feature detection calls ( #9284 )
...
These methods are not implemented by `CaptureMTLDevice`. The actual
calls succeed, because the exception is caught and handled by a
fallback mechanism, but the valid-method checks by objc2 in debug
builds are not aware of the fallback and panic.
Fixes #9282
2026-03-23 10:38:33 -07:00
Erich Gubler
3c13b5e68c
fix(metal): unconditionally enable CLIP_DISTANCES
2026-03-20 10:58:29 -06:00
Connor Fitzgerald
2810e95489
Update to winit 0.30 ( #9089 )
2026-03-18 20:34:12 +01:00
Bruce Mitchener
824211333d
metal: use setMeshBytes for mesh shader immediates ( #9254 )
...
Other mesh-stage byte bindings already use `setMeshBytes`, but the
immediates path still used `setObjectBytes`. Switch that call
site to the mesh-stage encoder entry point.
2026-03-18 09:33:15 -04:00
Bruce Mitchener
66c4c30bdc
metal: use typed objc2 pipeline creation APIs ( #9253 )
...
Fixes #8944
2026-03-18 09:25:07 -04:00
Connor Fitzgerald
f59124f3f6
Add support for the D3D12 Agility SDK ( #9130 )
2026-03-16 20:43:32 -04:00
Bruce Mitchener and Andy Leiserson
28bda54ae0
metal: prevent command buffer exhaustion deadlocks ( #8574 )
...
- Track outstanding Metal command buffers per queue and gate begin_encoding against the hard MAX_COMMAND_BUFFERS, returning device-lost with an actionable warning instead of letting new_command_buffer hang when encoders are leaked.
- Share the counter across queue/encoders and decrement on submit or discard after clearing the raw command buffer so drop happens before the bookkeeping update.
Fixes #3084 , #8047 .
---------
Co-authored-by: Andy Leiserson <aleiserson@mozilla.com >
2026-03-16 15:44:12 -07:00
Opstic and Andreas Reich
e682ce3f29
Enable use of GL_EXT_multisampled_render_to_texture extension for OpenGL backend ( #8536 )
...
Co-authored-by: Andreas Reich <r_andreas2@web.de >
2026-03-15 20:08:08 +00: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
Andy Leiserson
3899edce8c
refactor(metal): MTLCommandQueue is thread-safe ( #9217 )
2026-03-14 22:31:57 -04:00
Vecvec
50a4eaa75c
[vulkan] Offset AccelerationStructureGeometryTrianglesDataKHR::vertex_data instead of using first_vertex ( #9220 )
2026-03-14 22:30:09 -04:00
John Tur and Conrad Irwin
e66813a88e
Fix OpenGL robustness fallback when the robustness extension is unsupported ( #9153 )
...
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com >
2026-03-14 22:29:14 -04:00
atlv
ac62b9abed
Add MTL Version3_2 ( #9223 )
2026-03-14 23:10:19 +00: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
c81c9783c5
[metal] don't store adapter limits
...
Fixes #8715 .
2026-03-13 16:24:43 +01:00
teoxoy
1cce93aa28
[d3d12] account for our usage of SRVs & UAVs when calculating per-stage
...
limits
2026-03-13 16:24:43 +01:00
teoxoy
b234c2f5c8
[d3d12] add ResourceBindingTier enum
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
59eb0ee70c
use cap_limits_to_be_under_the_sum_limit to clamp per-stage limits
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
c819484751
[metal] fix limits
...
Fixes #8173 .
2026-03-13 16:24:43 +01:00
teoxoy
f06431f6de
[vk] fix limits
2026-03-13 16:24:43 +01:00
teoxoy
2b8fa47f5f
[d3d12] fix limits
...
Resolves #3333 .
2026-03-13 16:24:43 +01:00
atlv
c4c623fb45
wgpu-naga-bridge ( #9201 )
2026-03-13 11:09:12 -04: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
Marijn Suijten
35db26b2c6
Make HasDisplayHandle optional in WindowHandle ( #8782 )
2026-03-10 11:36:12 -04:00
Erich Gubler
a18abddd33
refactor: use From or Into for u32 -> u64 casts
2026-03-09 16:49:06 -06:00
Erich Gubler
fbc0388b61
refactor: DRY for i32::MAX in wgpu_hal::noop::CAPABILITIES
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