Commit Graph
432 Commits
Author SHA1 Message Date
Holger Trahe 2374e16ab9 Fixed partially-bound texture and storage-texture binding arrays (PAR… (#9653) 2026-06-29 15:04:06 -04:00
k9 35743f2848 Playwright wasm tests (#9114) 2026-06-29 14:31:39 -04:00
Sam b76a432a27 [core] Move Fallible into Arc<Texture> (#9718)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-06-25 19:27:44 +02:00
Vecvec 55534165c1 [spv-out] Some small ray query fixes (#9731) 2026-06-24 20:32:54 -04:00
Emil ErnerfeldtandClaude Opus 4.8 977e85dca6 test: use non-square asymmetric textures in coordinate-sensitive tests (#9723)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-24 11:31:48 -04:00
Luo Zhihao c841633bb3 Bring transient attachment in line with webgpu spec (#9568) 2026-06-18 18:28:52 -07:00
Andy Leiserson 336cda7372 fix(core): Deferred query set destruction (#9697) 2026-06-18 14:31:16 +02:00
Teoxoy e56b20dd94 add tests for query set initialization tracking 2026-06-17 11:53:01 -07:00
Sam 019bce9139 Implement QuerySet::destroy (#9671)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-06-16 12:37:11 +02:00
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 ZhihaoandErich 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
AliandErich 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 DaemonsandConnor 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 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
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 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 f9b4cbf365 refactor(tests): Add NoopBackendOptions::enabled() constructor 2026-03-23 18:25:15 -07:00