Commit Graph
10757 Commits
Author SHA1 Message Date
Nazar Mokrynskyi efd85236fc Fix recursion limits with next solver
(cherry picked from v30 commit 73a7e97981)
2026-09-01 12:34:12 -07:00
Connor Fitzgerald 9e0b371cb8 Use edition 2024 in standalone examples
(cherry picked from commit d4359d7494)
2026-09-01 12:34:12 -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
Andy Leiserson f572136563 Delete CHANGELOG 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 385b700740 feat(core): Expose descriptor validation separately from create_texture (#9979)
(cherry picked from commit d5d8ed84c8)
2026-08-17 15:00:44 -07:00
Teodor Tanasoaia f47904b2cc [wgpu-core] validate BGL entry visibility for non-core features (#10042)
(cherry picked from commit 422b1c3a2c)
2026-08-17 15:00:44 -07:00
Andy Leiserson 41bd4cd7ba fix(core): Lose device on errors during critical part of submission
(cherry picked from commit 390f05b69a)
2026-08-17 15:00:32 -07:00
Andy Leiserson 33d1e52617 fix(core): Validate submitted command buffers in a separate pass
(cherry picked from commit 708276188b)
2026-08-17 15:00:32 -07:00
Teodor Tanasoaia 7421de095a [d3d12] initialize padding of intermediary buffers used for texture to buffer copies (#10005)
(cherry picked from commit 6aa5fe71f5)
2026-08-17 15:00:32 -07:00
Andy Leiserson 4cb668ef3c fix(core): Fix corner cases in initialized range tracking (#10002)
(cherry picked from commit 667b53cbef)
2026-08-17 14:32:38 -07:00
ca96fe8014 [firefox-153] Prettier and cargo deny fixes (#9977)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
2026-08-03 04:48:48 -04: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
Andy Leiserson 5815bbe7cb fix(hal): Clear query state on reused encoders
(cherry picked from commit 8042314262)
2026-07-30 11:15:45 -07:00
Teoxoy 1ff557ddf6 [metal] fix end_query, the offset must match the slot 2026-06-25 18:47:10 +02:00
Teoxoy a2f878f0dd [metal] remove impl of reset_queries
Setting the slots to 0 for occlusion query sets is not necessary since
wgpu-core keeps track of slot initialization state.
2026-06-25 18:47:04 +02:00
Teoxoy 47e4be559d [wgpu-core] add query set initialization tracking
Vulkan, D3D12 and Metal require slots of query sets to
have been written prior to resolving them into a buffer.
2026-06-25 18:46:52 +02:00
teoxoy 8535f51c4b add close_and_insert_at to InnerCommandEncoder 2026-06-25 18:39:48 +02:00
teoxoy 6e8d0bd149 add tests for adapter_allowed 2026-06-03 23:36:32 +02:00
teoxoy 0ff42e7806 fix typo in comment 2026-06-03 23:36:32 +02: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 e9b9a82981 add downlevel flag for BC || (ETC2 && ASTC) 2026-06-03 23:36:32 +02:00
teoxoy 939776d5dc check that all limits are at least as high as default limits under
`STRICT_WEBGPU_COMPLIANCE`
2026-06-03 23:36:32 +02:00
teoxoy b61ddc1211 check alignment limits are powers of 2 2026-06-03 23:36:32 +02:00
teoxoy 6aa13649e4 filter out adapters with missing downlevel flags under
`STRICT_WEBGPU_COMPLIANCE`
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
teoxoy c0276d7140 add InstanceFlags::STRICT_WEBGPU_COMPLIANCE 2026-06-03 23:36:32 +02:00
Teoxoy bf1b57d47f [indirect-draw-validation] make sure we don't encounter u64 offsets in indirect draw validation 2026-06-03 22:43:37 +02:00
Teoxoy eddbd98028 [indirect-draw-validation] use a mask instead of bitshifts 2026-06-03 22:43:37 +02:00
Teoxoy d2a630771f [indirect-draw-validation] rename can_overflow to overflow_permitted 2026-06-03 22:43:37 +02:00
Teoxoy 35ba591a6c [indirect-draw-validation] add test for calculate_src_offsets 2026-06-03 22:43:37 +02:00
Teoxoy 82080096a0 [indirect-draw-validation] fix calculation of out_dynamic_offset
`max_dynamic_offset` should be used to clamp `out_dynamic_offset`
directly; aligning it to `dynamic_offset_stride` clamps
`out_dynamic_offset` to a lower value which then causes `out_offset` to
exceed the binding size.
2026-06-03 22:43:37 +02:00
Teoxoy 3ad17cbed6 [indirect-draw-validation] document output invariants of calculate_src_offsets 2026-06-03 22:43:37 +02:00
Teoxoy 8638b9e461 [indirect-draw-validation] simplify dynamic_offset_stride calculation 2026-06-03 22:43:37 +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
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
Dragoy 66d997113f naga: include OpAtomicCompareExchange result access in emitted range (#9621) 2026-06-03 20:03:55 +02:00
AdrianEddy d73c7560b4 fix(dx12): Handle multi-planar formats in texture copy operations (#9551) 2026-06-03 19:52:20 +02:00
Jim Blandy 6cb7f2170e wgpu_core::track::range::RangedStates: Remove stale TODO. (#9636) 2026-06-03 17:40:58 +00: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
renovate[bot] 42ee962572 chore(deps): update cts digest to da7d93e (#9615)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-03 16:40:34 +00:00
5unekkuand5unekku ac0f6bd351 wgpu-core: enable is_sorted_by_key debug assert in triage_submissions (#9630)
Co-authored-by: 5unekku <@5unekku>
2026-06-03 17:51:08 +02:00