Andy Leiserson and Jim Blandy
c4365b9818
fix(naga): Improve validation of non-constructible types ( #8873 )
...
* fix(naga): Improve validation of non-constructible types
Fixes #4720
Fixes the test cases in #7393 , but not the issue itself
* Zero-constructing texture_2d is no longer caught by front end.
* Define `TypeInner::is_constructible`; use it in `front::wgsl`.
Add a new method `TypeInner::is_constructible`, that determines
whether WGSL considers a type [constructible]. Use this to generate
errors in the WGSL front end. Assert in validation that it matches the
judgment of `Validator::validate_type`.
[constructible]: https://gpuweb.github.io/gpuweb/wgsl/#constructible-types
---------
Co-authored-by: Jim Blandy <jimb@red-bean.com >
2026-02-18 11:08:53 -08:00
renovate[bot]
1b4c22cf68
chore(deps): update cts digest to c299b04 ( #9059 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-17 09:55:47 -07:00
Andy Leiserson
e59fb7d423
fix(core): Calculate total number of bindings correctly ( #8997 )
2026-02-12 14:29:56 +01:00
Jim Blandy
7c74c1d606
[cts_runner] Fix link to instructions for running CTS tests. ( #9033 )
2026-02-11 11:29:26 -05:00
renovate[bot]
47ce3cbd24
chore(deps): update cts digest to 95fd0a5 ( #9025 )
2026-02-09 23:41:55 -08:00
Andy Leiserson
6be68cbc65
fix(deno): Remove early validation of depthClearValue ( #9000 )
2026-02-04 19:03:51 -07:00
Andy Leiserson
3b55cf9b8c
fix(metal): Don't panic on OOM in create_buffer ( #8994 )
2026-02-03 19:42:31 -07:00
Andy Leiserson
835560396f
test(cts): Enable some external texture tests ( #8901 )
2026-02-03 15:58:21 -08:00
Andy Leiserson
6e16e04a44
fix(naga): Detect overflowing const shift amounts at compile time
2026-02-03 12:59:48 +01:00
Andy Leiserson
afbb31eb1a
fix(naga): Disallow const shifts of scalar by vector or vice-versa
2026-02-03 12:59:48 +01:00
renovate[bot]
33e8e50fd9
chore(deps): update cts digest to 0ae1164 ( #8977 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-02 09:54:48 -08:00
Teodor Tanasoaia
a54dec07eb
[wgsl-in] Avoid looking up newly introduced parameter names while parsing function parameters and its return type. ( #8980 )
2026-02-02 06:15:05 -07:00
Andy Leiserson
35916162fd
test(cts): Update lists with triage results ( #8967 )
...
* test(cts): Update lists with triage results
* more test list updates
* Even more test list updates
2026-01-31 23:15:28 -05:00
Andy Leiserson
1af73121f4
fix(core): Read-write bindings are compatible with write-only shaders ( #8951 )
...
Fixes #8905
2026-01-30 09:44:22 -08:00
Andy Leiserson
735e8d2a40
Fix validation related to depth bias and frag_depth
...
* Depth bias is only supported with triangle topologies (fixes #6071 )
* If the shader outputs `frag_depth`, the pipeline must have a depth
attachment
2026-01-30 09:36:29 -08:00
Andy Leiserson
b316204dff
Allow shaders w/ dual-source blend I/O in non-DSB pipelines
...
Fixes #8592
2026-01-30 09:36:29 -08:00
Andy Leiserson
a24965f8b7
fix(naga): Coerce matrix initializers to concrete floats ( #8817 )
2026-01-29 18:00:26 -08:00
Andy Leiserson and Jim Blandy
70a7f83ea8
naga: Enforce @must_use for built-in functions ( #8713 )
...
---------
Co-authored-by: Jim Blandy <jimb@red-bean.com >
2026-01-29 15:03:29 -08:00
Timo Kösters and Erich Gubler
b93bab52bc
feat: support blendable f32 textures on vulkan ( #8963 )
...
Co-authored-by: Erich Gubler <erichdongubler@gmail.com >
2026-01-29 17:07:22 +00:00
Andy Leiserson
7e5f016ca7
chore(cts): Enable test fixed by objc2 ( #8950 )
...
Closes #7357
2026-01-28 07:56:16 -08:00
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