Teodor Tanasoaia
e114d2f0a7
Add support for gaps in bind group layouts & update relevant validation ( #9034 )
...
* [wgpu-core] add support for optional BG & BGL entries
* [wgpu] allow gaps in bind group layouts
And allow unbinding in the web backend.
* adapt tests
* add changelog entry
* [wgpu] remove generic from `PipelineLayoutDescriptor`
2026-02-25 19:47:36 +01:00
Andy Leiserson
aad2a00f4d
fix(core): Blend factor must be one when blend op is min/max ( #9110 )
2026-02-25 18:22:54 +01:00
Andy Leiserson
b09a919c6a
DepthStencilState validation fixes ( #8840 )
...
* Make `depth_compare` and `depth_write_enabled` optional
These fields are optional in the WebGPU API. Having them optional in the
wgpu API as well keeps validation logic centralized in wgpu-core.
Fixes #8830
* Remove `DepthStencilStateIdl`
2026-02-25 14:59:48 +01:00
Andy Leiserson
3676e0e247
fix(core): Validate occlusion query set type in begin_render_pass ( #9086 )
2026-02-23 14:38:46 -08:00
Andy Leiserson
73624c9892
chore(deno): Implement is_fallback_adapter and validate feature level strings ( #9043 )
2026-02-23 11:10:43 -08:00
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
Andy Leiserson
e59fb7d423
fix(core): Calculate total number of bindings correctly ( #8997 )
2026-02-12 14:29:56 +01: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
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
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
eb158a4a54
Alphabetize test.lst; add fail.lst and skip.lst ( #8778 )
2026-01-16 20:30:26 -07: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
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
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
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
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