Commit Graph
494 Commits
Author SHA1 Message Date
Zac Harrold 8573e7a44e [wgpu-hal]: Switch to wgpu-sync for locking primitives 2026-08-14 20:47:05 -04:00
Teodor Tanasoaia 6aa5fe71f5 [d3d12] initialize padding of intermediary buffers used for texture to buffer copies (#10005) 2026-08-06 15:21:19 +02:00
Kevin Reid 9f5c71ffb9 Make ForceShaderModelToken’s functions const. 2026-08-03 06:34:29 -04:00
teoxoy 0efd6dd7ce move DynLib & DxgiLib into auxil 2026-07-08 14:57:01 +02:00
teoxoy 6ebe618540 [dxgi] lookup CreateDXGIFactory1 dynamically 2026-07-08 14:57:01 +02:00
teoxoy 995ee7b3f1 add Limits::max_buffers_and_acceleration_structures_per_shader_stage 2026-07-01 14:43:44 -04:00
lizelive 0853e7bdc1 fix: gate on static_dxc not static-dxc (#9785) 2026-07-01 17:18:48 +00: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
Holger Trahe 2374e16ab9 Fixed partially-bound texture and storage-texture binding arrays (PAR… (#9653) 2026-06-29 15:04:06 -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
Kevin Reid 156741bcb2 Add Debug implementations and missing_debug_implementations lint. (#9744) 2026-06-25 18:57:47 -04:00
VecvecandConnor Fitzgerald 743ac1f084 Hal ray tracing pipelines (#9464)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-06-25 18:53:10 -04:00
Luo Zhihao c841633bb3 Bring transient attachment in line with webgpu spec (#9568) 2026-06-18 18:28:52 -07:00
Inner Daemons 1c42a95e37 Add naga-types crate (#9434) 2026-06-15 16:11:06 +02:00
teoxoy 0ff42e7806 fix typo in comment 2026-06-03 23:36:32 +02:00
Teoxoy 31d22915be [indirect-draw-validation] don't attempt indirect draw validation for mesh shaders since it's not supported 2026-06-03 22:43:37 +02:00
AdrianEddy d73c7560b4 fix(dx12): Handle multi-planar formats in texture copy operations (#9551) 2026-06-03 19:52:20 +02:00
Vecvec a1fceed071 Move fence synchronisation into wgpu-hal (#9475) 2026-05-28 14:49:12 -07:00
Andy Leiserson 1503796ad4 refactor(hal): Remove unnecessary unsafe Send/Sync impls (#9580) 2026-05-26 23:23:51 +00:00
Andy Leiserson 928ddb40f5 fix(dx12): Map components properly for textureLoad from stencil (#9520) 2026-05-12 12:00:21 +02:00
AdrianEddy 1ab3b90289 [Dx12/hal] Add Queue::add_wait_fence / add_signal_fence for coordination with external APIs (#9463) 2026-04-29 23:12:55 -04:00
JMS55 868eb17098 SHADER_I16 full support (#9412) 2026-04-24 20:49:41 -04:00
Teodor Tanasoaia 5eeb484758 D3D12 root element cleanup (#9432) 2026-04-19 21:57:21 +02: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
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
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
Andy Leiserson acc5855e1f fix(core): Use more checked arithmetic, part 2 (#9363) 2026-04-09 15:21:20 -06: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
羊撅撅 6e37845ff9 feat(wgpu-hal/dx12): add raw_resource method to Buffer (#9364) 2026-04-08 17:11:15 +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
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
Kristoffer Søholm f5bc1ffb06 Fix wrong binding array sampler limit in dx12 (#9330) 2026-03-29 16:36:10 -04:00
Inner Daemons a53ffffe38 Mesh shader HLSL writer (#8752) 2026-03-24 15:42:38 -04: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
Connor Fitzgerald f59124f3f6 Add support for the D3D12 Agility SDK (#9130) 2026-03-16 20:43:32 -04: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
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 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 990e12ebbc [wgpu-hal] report accurate maxBindingsPerBindGroup 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 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