Commit Graph
154 Commits
Author SHA1 Message Date
Andy Leiserson 965b7cbe79 feat(deno): Associate external memory with GPUDevice
Enable some tests that previously OOMed in CI.
2026-01-27 13:11:40 -08:00
renovate[bot] 2002283cce chore(deps): update cts digest to 0fad1ec (#8926)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-26 13:28:10 -05:00
Andy Leiserson 6495ef3f9d fix(naga): Calculate 1D distance using abs (#8903) 2026-01-26 13:32:45 +01:00
Andy Leiserson 6b5a416865 fix(naga): Use wrapping arithmetic for u32 const eval (#8912)
Fixes one part of #8900
2026-01-22 14:50:37 -08:00
Andy Leiserson 046a1b4ce5 feat(deno): implement WGSLLanguageFeatures (#8884) 2026-01-22 10:42:01 -08:00
renovate[bot] 53468815b1 chore(deps): update cts digest to e98e602 (#8890) 2026-01-22 09:57:28 -08:00
Andy Leiserson 5c100aea5a chore(deno): Export GPUPipelineError (#8885) 2026-01-21 17:27:19 +01:00
Andy Leiserson eb158a4a54 Alphabetize test.lst; add fail.lst and skip.lst (#8778) 2026-01-16 20:30:26 -07:00
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