Commit Graph
433 Commits
Author SHA1 Message Date
Andy Leiserson 30a5266785 test: Exercise zero-size vertex and index bindings
(cherry picked from commit a792cbe99b)
2026-10-12 11:54:13 -07:00
Andy Leiserson 259cbd0227 fix(core): Init tracking for pass with multiple depth slice attachments
(cherry picked from commit f0704423c9)
2026-09-08 11:35:07 -07:00
Andy Leiserson b626d0b97f test: Tests for render attachment initialization tracking
(cherry picked from commit 7b2b0822cf)
2026-09-08 11:32:48 -07:00
Andy Leiserson 4f504120a9 test: Extend ReadbackBuffers to mips, depth slices, and arrays
(cherry picked from commit 088f101d30)
2026-09-08 11:31:22 -07:00
Andy Leiserson 727a812f76 Cherry-pick some KosmicKrisp test expectations from 20e56a98 2026-09-01 12:34:12 -07:00
Andy Leiserson d73c33bb3f Apply #[should_panic] to ray tracing pipeline tests 2026-09-01 12:34:12 -07:00
Teodor Tanasoaia 3896ae0191 Cherry-pick tests from commit 422b1c3a2c 2026-09-01 12:34:12 -07:00
Teodor Tanasoaia dd93a1a4cc Cherry-pick tests from commit 6aa5fe71f5 2026-09-01 12:34:12 -07:00
Kevin Reid c78fd7824a Replace wgpu-macros package with use of macro_rules_attribute.
(cherry picked from commit d0ecda96cd)
2026-09-01 12:34:12 -07:00
Andy Leiserson b9f2bb9071 Eagerly initialize buffer tails
(cherry picked from commit bcc59481c9)
2026-09-01 12:34:12 -07:00
Andy Leiserson 0a7ad126dd test: Run with LVP_POISON_MEMORY=true
(cherry picked from commit 8b2bc49419)
2026-09-01 12:34:12 -07:00
Andy Leiserson 17d977a939 fix(core): Track initialization status of 3D textures
(cherry picked from commit 0cc48c829e)
2026-07-30 11:15:49 -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