Andy Leiserson
08b244df91
build: Exclude wgpu-core when building the WebGPU-backend samples ( #9557 )
2026-06-12 13:39:28 -04:00
39ali
6877690dbe
fix(metal): Fix hang waiting for an errored command buffer
...
Fixes #9531
2026-06-04 17:11:59 -07:00
teoxoy
e52af5cd8d
add test to ensure returned adapters are WebGPU compliant if
...
`STRICT_WEBGPU_COMPLIANCE` is set
2026-06-03 23:36:32 +02:00
teoxoy
45f820a4ad
disallow LoadOp::DontCare under STRICT_WEBGPU_COMPLIANCE
2026-06-03 23:36:32 +02:00
Teodor Tanasoaia
a513fa1d19
Revert "Expect failures on dx12 due to #9627 " ( #9638 )
2026-06-03 13:38:33 -07:00
Andy Leiserson
0c78336958
Require full initialization of buffers used in dynamic offset bindings ( #9628 )
2026-06-03 18:26:31 +00:00
AdrianEddy
d73c7560b4
fix(dx12): Handle multi-planar formats in texture copy operations ( #9551 )
2026-06-03 19:52:20 +02:00
Andy Leiserson
9f78f6f4dd
Expect failures on dx12 due to #9627
2026-06-03 19:33:29 +02:00
Andy Leiserson
560b763f64
fix(core): Correctly track texture init state after writing one aspect
2026-06-03 19:33:29 +02:00
Andy Leiserson
54e741adbd
refactor(test): Rename zero_init_texture_after_discard -> zero_init
2026-06-03 19:33:29 +02:00
Luo Zhihao and Erich Gubler
a7e0298dc5
Validate LoadOp and StoreOp are None for attachments without corresponding depth or stencil aspect ( #9567 )
...
Co-authored-by: Erich Gubler <erichdongubler@gmail.com >
2026-05-29 11:28:50 -04:00
Andy Leiserson
8f4def424a
test: Additional "life cycle" tests
2026-05-25 10:48:20 +02:00
Andy Leiserson
4471e9d415
chore(deps): Remove unused dependency ctor ( #9547 )
2026-05-20 17:23:50 +02:00
Connor Fitzgerald
d88b06caca
Fix type resolution issue in GL push constants ( #9116 )
2026-05-20 08:19:51 -07:00
Misaki Kasumi
1546cca5ed
Add StagingBelt::finish_and_recall_on_submit
...
Convenience that combines `finish` and `recall` by deferring the buffer
re-map via `CommandEncoder::map_buffer_on_submit`, so callers no longer
need an explicit `recall()` after submission.
2026-05-12 14:01:55 -07:00
Andy Leiserson
aba219f910
test: Check for device loss ( #9477 )
2026-05-06 20:03:00 +02:00
Andy Leiserson
e6ee3aa4a8
fix(gles): Remove debug_assert_eq!(gl_fence.value, wait_value) ( #9502 )
2026-05-06 18:10:34 +02:00
Jim Blandy
64394cc73a
Invoke the mapping callback even if the buffer is invalid. ( #9513 )
2026-05-06 08:19:12 -07:00
N.E.C.
bb83a5824a
Allow empty buffer slices to be instantiated ( #8505 )
2026-05-03 22:40:29 +02:00
Andy Leiserson
e1e4bb1a14
fix(core): Flush pending writes before mapAsync, if needed
...
Fixes #5173
2026-04-29 10:24:42 -07:00
JMS55
868eb17098
SHADER_I16 full support ( #9412 )
2026-04-24 20:49:41 -04:00
Andy Leiserson
b051a87e3e
fix(naga): Require explicit flat interpolation for integer shader I/O
2026-04-17 11:50:51 -07:00
teoxoy
67b4f3c7e5
[wgpu] make vertex buffer slots optional
2026-04-14 17:20:15 -07:00
Ali and Erich Gubler
51faa6fd87
Implements #8875 : Using binding_array should require an enable extension ( #9298 )
...
Co-authored-by: Erich Gubler <erichdongubler@gmail.com >
2026-04-11 04:52:44 +00: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
Genna Wingert
2ac1faef05
feat(core): Add ComputePass::transition_resources ( #9371 )
2026-04-09 09:42:55 -04:00
Inner Daemons and Connor Fitzgerald
8bc9fc1795
Add GLSL passthrough ( #9064 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2026-04-08 22:03:34 -04:00
atlv
ed4a28aef0
Make get_mapped_range return a Result rather than panicking ( #9281 )
2026-04-08 21:22:00 -04:00
Vecvec
daced7acb9
Enable ray tracing example tests on metal ( #9324 )
2026-04-08 20:43:57 -04: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
Kristoffer Søholm
41bb9cbd25
Fix validation for bindings with different sizes ( #9341 )
2026-04-02 18:01:28 -07: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
Dylan Blokhuis
438ed2a7ce
feat(core): support building custom geometry BLAS ( #9290 )
2026-04-01 20:55:22 +13:00
Kristoffer Søholm
fd04edc0ac
Fix bad debug_assert in dx12 indirect multi draw ( #9332 )
2026-03-31 13:46:25 -04:00
Andy Leiserson
e14050d7db
fix(core): Fix resource usage for R/O depth w/o TEXTURE_BINDING ( #9346 )
...
* fix(core): Fix resource usage for R/O depth w/o TEXTURE_BINDING
Fixes #9343
* Update test and waive failure
Related to #5231
* changelog
2026-03-31 17:02:11 +02: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
f9b4cbf365
refactor(tests): Add NoopBackendOptions::enabled() constructor
2026-03-23 18:25:15 -07:00
Andy Leiserson
d5c0b137e0
test: Annotate one more KosmicKrisp failure ( #9256 )
...
Tracked in #9187
2026-03-18 11:13:25 -06:00
Connor Fitzgerald
f59124f3f6
Add support for the D3D12 Agility SDK ( #9130 )
2026-03-16 20:43:32 -04:00
Andy Leiserson
e80dc8decf
Annotate expected failures on Metal, MoltenVK, and KosmicKrisp ( #9188 )
2026-03-14 22:41:20 -04: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
51fb8017d4
add test for max binding index
2026-03-13 16:24:43 +01:00
Kevin Reid
a97a49d1d6
Replace &mut [u8] access to mapped buffers with WriteOnly.
...
When accessing a buffer for writing, do not expose (or internally
create) any `&'a mut [u8]` references to that memory, so as to avoid
exposing write-combining memory that might visibly misbehave in atomic
operations. Instead, expose the new pointer type `WriteOnly<'a, [u8]>`
which offers only write operations. This can be sliced and reborrowed,
allowing it to be used in most ways which `&mut [u8]` would be,
hopefully with near-zero overhead.
This pointer type might also allow users to opt in to uninitialized
memory for performance, while confining the consequences to GPU UB
rather than Rust UB. However, that is a future possibility and is not
implemented in this commit other than as a consideration in defining the
API of the `WriteOnly` type.
This change is not a complete solution to the problem of write-combining
memory because it is still possible to read after writing by calling
`get_mapped_range()` after `get_mapped_range_mut()`. However, that is
solvable separately, perhaps with a barrier or a validation change,
and is not particularly coupled with this part of the solution.
2026-03-11 16:58:48 -04:00
Dzmitry Malyshau
da77a43313
Update naga capabilities for TLAS array
2026-03-11 08:18:38 -07:00
Dzmitry Malyshau
adc3534f1c
Add max_binding_array_acceleration_structure_elements_per_shader_stage limit
2026-03-11 08:18:38 -07:00