Commit Graph
1564 Commits
Author SHA1 Message Date
Vecvec 56e4a389dd [spv-out] ray tracing pipelines (#9085) 2026-04-20 17:02:49 +02:00
Teodor Tanasoaia 5eeb484758 D3D12 root element cleanup (#9432) 2026-04-19 21:57:21 +02:00
Andy Leiserson 61e76ee746 fix(core): Use more checked arithmetic, part 2b (#9425) 2026-04-16 14:27:01 +02:00
Andreas ReichandConnor Fitzgerald 006e346a94 Don't fail metal create_fence if no shared event could be created (#9415)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-04-16 01:04:16 +00:00
Teodor Tanasoaia cc44c1f616 [d3d12] always expose Features::FLOAT32_BLENDABLE (#9431) 2026-04-15 11:46:36 -04: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 95b06abb94 doc(hal): Add safety invariants to Queue::present 2026-04-14 10:51:03 +02:00
atlas d672184e54 feat(hal): Add Queue::wait_for_idle 2026-04-14 10:51:03 +02:00
Tom Schuster 7143bbe882 Re-vendor WebGPU (#9090) 2026-04-12 20:00:46 +02:00
Erich Gubler 10ce22b2ea refactor!: subvert-rename dispatch* to dispatchWorkGroups* (#9362) 2026-04-11 20:58:22 +02:00
teoxoy 9d5311a95f [metal] lower max_inter_stage_shader_variables to 30 on non-Apple GPUs 2026-04-11 00:55:54 -04:00
teoxoy 8c40370eae [d3d12] lower max_vertex_attributes to 30
See https://github.com/gpuweb/gpuweb/pull/5604#discussion_r2967504832
2026-04-11 00:55:54 -04:00
atlas a6a70bbbac doc(hal): fix timeout description 2026-04-10 17:11:07 +02:00
atlas 02e00a1f4d fix(hal/vulkan): propagate wait_for_fence timeout 2026-04-10 17:11:07 +02:00
atlv e6e5f5288c Bring immediate in line with webgpu spec (#9280) 2026-04-09 22:36:02 +00:00
Andy Leiserson acc5855e1f fix(core): Use more checked arithmetic, part 2 (#9363) 2026-04-09 15:21:20 -06:00
Jim Blandy bf8330c20b Make DRM support optional. (#9390) 2026-04-09 13:11:04 -07:00
Ali bde709122f add Metal support for MULTISAMPLE_ARRAY (#9300) 2026-04-09 09:44:45 -04:00
Inner DaemonsandConnor Fitzgerald 8bc9fc1795 Add GLSL passthrough (#9064)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-04-08 22:03:34 -04:00
countgitmickandYour 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
countgitmickandYour 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
Andreas ReichandConnor Fitzgerald 013ed8769e Fix missing dependency feature activations when building wgpu-hal with gles/dx12 in isolation (#9325)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-04-08 19:32:00 +00:00
羊撅撅 6e37845ff9 feat(wgpu-hal/dx12): add raw_resource method to Buffer (#9364) 2026-04-08 17:11:15 +02:00
sotaroikeda a29a8fcf6e Add Queue::remove_signal_semaphore() (#9388) 2026-04-08 09:50:40 +02:00
Inner DaemonsandAndreas 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
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 LeisersonandTeodor 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 MitchenerandAndy 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
OpsticandAndreas 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 EickerandConnor Fitzgerald 62c2f5da97 Move ordered usages to hals (#8924)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-03-15 03:23:32 +00:00