Commit Graph
146 Commits
Author SHA1 Message Date
renovate[bot] b7ccd3323e chore(deps): update cts digest to 4637ae6 (#8860)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-12 09:11:27 -05:00
cryvosh 1d520a098d Fix workgroupUniformLoad returning atomic types (#8791) 2026-01-10 12:21:48 -08:00
Moritz Zielke cb02f74aa4 fix(naga): avoid vector splat construction from invalid scalar type (#8829) 2026-01-08 15:06:14 -08:00
Andy Leiserson a6d3f4f819 fix(naga): Validate sizes of override-sized arrays (#8822)
When validating in overrides-resolved mode, check that override-sized
arrays have a positive size.

Fixes #7806
2026-01-08 16:52:06 +00:00
Andy Leiserson e76c9e2fdb fix(naga): some cases of f16 construction from constants (#8816) 2026-01-08 17:21:34 +01:00
Andy Leiserson 7a6fe1c563 fix(naga): Fix constant evaluation of indexing by an i32 override 2026-01-08 17:19:37 +01:00
Andy Leiserson 376a36a9d2 fix(core): Validate storage texture formats when creating BGLs (#8735)
This moves existing validation from binding creation to BGL
creation. Binding creation already had a check that returns
`CreateBindGroupError::InvalidStorageTextureFormat` if the format
does not match the layout, so it is not necessary to revalidate
the format support at that point.
2026-01-07 17:00:57 +01:00
Erich Gubler 37dd63d56a test(cts): add currently passing tests for workgroupUniformLoad (#8813) 2026-01-06 11:10:11 -08:00
Erich Gubler 611dacac50 test(cts): add passing subset of webgpu:api,validation,render_pipeline,inter_stage:max_variables_count,input:* 2026-01-05 14:59:38 -08:00
renovate[bot] 3fc330fd54 chore(deps): update cts digest to c7cc4cc (#8810)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-05 09:11:00 -08:00
Erich Gubler 878a180a00 test(cts): add webgpu:api,validation,render_pipeline,inter_stage:max_variables_count,output:* (#8786) 2025-12-27 14:44:42 -07:00
Erich Gubler 6880146632 test(core): add CTS coverage for maxInterStageShaderVariables 2025-12-23 16:09:17 -05:00
Andy Leiserson df4ae64df6 Check GPUDepthStencilState.format even when neither is enabled (#8766)
Fixes #8736
2025-12-22 18:33:59 -08:00
renovate[bot] 4f2246069c chore(deps): update cts digest to da73c1d (#8772) 2025-12-21 20:37:26 -08:00
Andy Leiserson b9324e9da9 [deno] Fix error reporting for async pipeline creation 2025-12-19 15:12:03 -08:00
Andy Leiserson c5e460fea1 Fix regressions in logical operator handling in const exprs (#8721)
* Fix regressions in logical operator handling in const exprs

Fixes regressions introduced by #7339
Fixes #8711
2025-12-17 13:17:57 -08:00
Andy Leiserson 6dd69b0567 core: Reject zero-size bindings in createBindGroup (#8734) 2025-12-16 18:22:00 +00:00
teoxoy 61f08ed2d2 use Binder in RenderBundleEncoder.finish 2025-12-16 18:06:51 +01:00
Andy Leiserson 4a91c7fc6c Ensure the limit for storage binding size honors alignment (#8719) 2025-12-15 12:42:17 -05:00
renovate[bot] 515b8a7505 chore(deps): update cts digest to 4a2a538 (#8728)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-15 09:14:10 -08:00
Andy Leiserson 3f4edb11ff Enable some passing CTS tests (#8699) 2025-12-12 01:40:21 +00:00
Andy Leiserson 12259ba9f4 naga: Accept var<function> syntax for local variables (#8710) 2025-12-11 17:40:29 -05:00
renovate[bot] a15ffbd551 chore(deps): update cts digest to d194cbe (#8680)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-11 11:54:48 -08:00
Andy Leiserson 40e78df1fb [deno] Associate external memory with each command encoder on Metal (#8704)
* [deno] Associate external memory with each command encoder on Metal

This encourages doing garbage collection before the command buffer limit
is reached.

* Add bug reference
2025-12-11 09:48:26 -05:00
Andy Leiserson 660b21c571 [deno] Fix alignment check for mappedAtCreation buffers (#8700) 2025-12-10 15:15:37 -05:00
Andy Leiserson 500e2baedf Enable CTS suite api,validation,encoding,cmds,compute_pass (#8698) 2025-12-09 18:54:51 -05:00
Andy Leiserson 422d539731 Add missing maxColorAttachmentBytesPerSample validation for render passes (#8697) 2025-12-09 13:32:57 -08:00
Andy Leiserson d6ca9462e4 Fix panic if indirect buffer has been destroyed (#8689) 2025-12-08 21:17:52 -05:00
Andy Leiserson 1ddb5f25c2 Fix early out placement for CopyB2T (#8690) 2025-12-08 21:17:07 -05:00
Teodor Tanasoaia d41e43bc60 [wgpu-core] validate occlusion and pipeline statistics queries end (#8684) 2025-12-08 18:42:26 +01:00
renovate[bot] bd563c6eff Update cts digest to 4595051 (#8599) 2025-12-01 01:37:23 -05:00
renovate[bot] 836d3c22de Update cts digest to 3ba0344 (#8562)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-24 09:27:28 -05:00
Andy Leiserson 6043b059c4 Tweak error behavior for unbalanced passes, and update CTS (#8543) 2025-11-18 11:18:17 -05:00
renovate[bot] 670940f457 chore(deps): update cts digest to cf8d393 (#8501)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-11 00:22:09 -05:00
Andy Leiserson a2db631672 Fix clamping at minimal render extent (#8486)
This was a regression introduced by #8307.

For mipmapped multi-planar textures, requires that the size is a
multiple of a power of two determined by the mip level count, in lieu
of properly aligning the size of each mip level to an even
dimension. See #8491.

(The failure referred to by "fails due to missing validation" was
fixed before the regression, by #8402, but was not identified as fixed
and added to the test list at that time.)
2025-11-06 17:56:18 -08:00
Andy Leiserson 3443224e78 Correct STORAGE_READ_ONLY exclusivity (#8490)
Fixes #8485
2025-11-06 15:04:38 -08:00
Erich Gubler e2e4651ecb fix(core): validate that buffer is unmapped in write_buffer calls 2025-11-05 16:12:58 -05:00
Erich Gubler f47a8eb1d1 test(cts): write current expected outcomes for webgpu:api,validation,queue,buffer_mapped:* 2025-11-05 16:12:58 -05:00
renovate[bot] abff8ae375 Update cts digest to 964a0b4 (#8465)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-03 16:04:27 -08:00
renovate[bot] 6ae3ee569f chore(deps): update cts digest to 3f7ca40 (#8433)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-27 11:59:22 +01:00
Andy Leiserson 3ca6a1c0df Defer some bind group processing until draw/dispatch
This allows us to save some work when a bind group is replaced,
although WebGPU still requires us to fail a submission if any
resource in any bind group that was ever referenced during
encoding is destroyed.

Fixes #8399
2025-10-23 14:59:25 +02:00
Andy Leiserson 7f644452f0 Check for attachment overlap using textures, not views (#8402) 2025-10-22 17:37:38 +02:00
renovate[bot] a2cde58ff7 chore(deps): update cts digest to 8f90672 (#8381)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-21 10:06:40 -07:00
Andy Leiserson cb13fbe4a7 [cts_runner] Print uncaptured errors to stderr (#8263)
This is useful when running test snippets. Update READMEs including to
mention how to do that.
2025-10-15 16:13:04 -04:00
Erich Gubler 54ded60d8e fix(dx12): align tex. <-> buf. copies via intermediate buffer if !UnrestrictedBufferTextureCopyPitchSupported 2025-10-14 09:39:56 -04:00
Erich Gubler 53f3da3f1b test(cts): add …,image_copy:undefined_params:* with current failures 2025-10-14 09:39:56 -04:00
renovate[bot] d15e6e6f5f chore(deps): update cts digest to dd4ecea (#8337)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-13 07:18:57 -07:00
Teodor Tanasoaia 1072b87894 Fix stray comma in function signatures in Metal (#8311)
Fixes a regression introduced by #8265 where we were mistakenly writing a comma before the first buffer argument (if no other arguments were printed before it).
2025-10-06 18:59:45 +00:00
renovate[bot] abc2dfab52 chore(deps): update cts digest to 9fe13c9 (#8305)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-06 09:00:33 -07:00
renovate[bot] bc43a23e04 chore(deps): update cts digest to 5e7bd6e (#8275)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-29 11:43:27 -04:00