Commit Graph
234 Commits
Author SHA1 Message Date
Andy Leiserson dd007da02d fix(vulkan): Make error_if_would_oom_on_resource_allocation more accurate (#9643) 2026-06-10 11:44:03 +02:00
renovate[bot] 1392943116 Update cts digest to 3952725 (#9651)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-08 11:47:36 -07: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
Luo Zhihao 8b7e9edcdb Mask stencil clear value and reference value with 255 (#9607) 2026-06-02 17:09:58 +00:00
Luo ZhihaoandErich Gubler a7e0298dc5 Validate LoadOp and StoreOp are None for attachments without corresponding depth or stencil aspect (#9567)
Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
2026-05-29 11:28:50 -04:00
Andy Leiserson 6d40e7c14a test(cts): Move copy_ranges out of fail.lst (#9509) 2026-05-27 08:35:44 -07:00
renovate[bot] 86379627ce chore(deps): update cts digest to c2a9d94 (#9582)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-26 08:52:24 -04:00
renovate[bot]andAndy Leiserson e940ef9103 chore(deps): update cts digest to 2e0221e
Co-authored-by: Andy Leiserson <aleiserson@mozilla.com>
2026-05-21 10:48:06 -07:00
Andy Leiserson 52d9d2d71b test(cts): Disable textureNumSamples test on dx12 (#9555) 2026-05-20 14:57:11 -04:00
Andy Leiserson 4c1ea47ea2 fix(dx12): Fix textureNum{Levels,Layers,Samples} functions (#9542) 2026-05-13 17:51:15 +02:00
Andy Leiserson 928ddb40f5 fix(dx12): Map components properly for textureLoad from stencil (#9520) 2026-05-12 12:00:21 +02:00
Andy Leiserson e1e4bb1a14 fix(core): Flush pending writes before mapAsync, if needed
Fixes #5173
2026-04-29 10:24:42 -07:00
renovate[bot] e68c004fe1 chore(deps): update cts digest to 8640b42 (#9466)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-27 09:04:54 -07:00
JMS55 f4df862fff Skip failing CTS test (#9457) 2026-04-22 11:11:49 -04:00
renovate[bot] 172cd3986a Update cts digest to 4a82d78 (#9445) 2026-04-21 06:09:10 -07:00
Andy Leiserson e855a96b48 fix(naga): Accept trailing comma in 1-arg @interpolate 2026-04-17 11:50:51 -07:00
teoxoy 35fd939877 enable CTS tests 2026-04-14 17:20:15 -07:00
teoxoy 8c40370eae [d3d12] lower max_vertex_attributes to 30
See https://github.com/gpuweb/gpuweb/pull/5604#discussion_r2967504832
2026-04-11 00:55:54 -04:00
renovate[bot] 14d92004e1 chore(deps): update cts digest to c378a32 (#9375)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-06 14:40:17 -07:00
dnsn021anddongsong 3a8b7eaf05 fix(naga): validate @must_use usage on non-function declarations (#9367)
---------

Co-authored-by: dongsong <dongsong@pkpm.com.cn>
2026-04-03 17:20:04 +00:00
Brendon Daugherty 1080b4faf3 fix(wgsl-in): Handle Unterminated Block Comments (#9356) 2026-04-02 13:26:21 -06:00
Andy Leiserson 59c0c54029 Fix minor issues with @size attribute (#9322)
* test(cts): List updates

* fix(naga): Disallow @size on dynamically-sized arrays

* fix(naga): Increase MAX_TYPE_SIZE to i32::MAX
2026-03-30 16:56:09 +02:00
Andy Leiserson da19f17121 fix(core): Add validation in create_render_bundle_encoder (#9289) 2026-03-27 14:33:10 +01:00
Ali a071a4d5aa Fixes #9283 : firstLeadingBit returns signed semantics result instead… (#9299)
* Fixes #9283 : firstLeadingBit returns signed semantics result instead of unsigned for u32 input 0xFFFFFFFF on Metal backend

* updates snapshots

* added  to passing tests
2026-03-26 14:46:43 +01:00
Erich Gubler da87026797 style: run prettier --write . 2026-03-25 12:46:54 -06:00
Andy Leiserson ae41c3841d test(cts): List updates (#9305) 2026-03-25 18:30:43 +00:00
ecoricemon 96675e5215 fix(naga): Reject direct access to atomic variables (#9262)
* fix(naga): Reject direct access to atomic variables

* resolve CHANGELOG conflict

* chore: Update CTS list
2026-03-25 18:23:34 +01:00
Andy Leiserson 8ddbd2d236 fix(naga): Disallow derivatives for f16 (#9154) 2026-03-24 17:52:47 +00:00
renovate[bot] c9e475d8f4 chore(deps): update cts digest to 1497494 (#9285)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-23 12:11:15 -04:00
ecoricemon bb73dd843c fix(naga): Add validation for some math builtins in const-eval (#9249)
Added validation on builtin math functions `acosh`, `length`,
`normalize`, and `pow` during const evaluation.
2026-03-20 09:47:41 -07:00
Erich Gubler 0ca8ba04ac test(cts): add coverage for clip-distances feature 2026-03-19 18:40:46 -06:00
Andy Leiserson 04cce5ace7 feat(types): Add conversions to/from feature name strings (#9163) 2026-03-18 09:59:45 -07:00
Andy Leiserson 0e2650781c fix: dual-source blending validation
- Validate `@blend_src` structs in type validation. The spec requires
  validating any struct with `@blend_src` attributes, whether or not
  it is used by an entry point.
- Remove `@blend_src`-related interface validation that is
  redundant with the type validation.
- Dual-source blending requires that there be a single color
  attachment.
2026-03-18 09:52:01 -07:00
ecoricemon 93fe05dd35 fix(naga): Validate matrix constructors (#9207)
Added column validation in matrix constructors.

CTS change
webgpu:shader,validation,expression,call,builtin,value_constructor:*
481/483 -> 483/483 (100%)
2026-03-17 13:24:20 -06:00
Andy Leiserson d5b6945d95 test(cts): Skip max_resources_per_stage on dx12 (#9247) 2026-03-16 20:42:44 -04:00
ecoricemonandConnor Fitzgerald cbc20f698c fix(naga): Check domain and overflow in const-eval (#9224)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-03-16 11:22:30 -06:00
renovate[bot] 71706c3d5d chore(deps): update cts digest to e9adcf8 (#9237)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-16 13:50:44 +00:00
Andy Leiserson b559ace80e Waive failing test on dx12 (#9227)
See #9226
2026-03-14 21:44:37 +00:00
Andy Leiserson ca3239e689 chore!: Move PRIMITIVE_INDEX feature into the WebGPU group (#9101)
Enable relevant CTS tests.
2026-03-13 13:52:14 -07:00
teoxoy 83c906f99f [hal] add missing WebGPU adapter capability guarantees 2026-03-13 16:24:43 +01:00
teoxoy c819484751 [metal] fix limits
Fixes #8173.
2026-03-13 16:24:43 +01:00
Andy Leiserson d540c4566e test(cts_runner): Use DXC by default 2026-03-10 16:57:39 -07:00
Andy Leiserson a16ca5cb42 feat(deno): Add DENO_WEBGPU_DX12_COMPILER env var
- Use the env var to select DXC in cts_runner
- Sync a few other env vars from `ci.yml`
2026-03-10 16:57:39 -07:00
ecoricemon eb3bc87b21 fix(naga): Implement constant matrix add/sub/mul (#9162)
* fix(naga): Implement constant matrix operations

Implement binary operations in naga constant evaluator
- multiplication on vector-matrix, matrix-vector, and matrix-matrix
- addition/subtraction on matrix-matrix

* Related CTS
webgpu:shader,validation,expression,matrix,* : 1678/1881 (89.21%) -> 1737/1881 (92.34%)
> remaining fail : overflow/underflow (126), atomic (18)

* naga snapshots updated automatically

* chore: Update naga snapshots
2026-03-10 22:09:00 +01:00
Andy Leiserson ce631c139f fix(naga): Evaluate compound assignment LHS before RHS (#9181) 2026-03-09 23:33:27 +00:00
renovate[bot] 4b81f35cbe chore(deps): update cts digest to 47c3b4f (#9173)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-09 14:40:40 -04:00
Andy Leiserson 14ea13f11f fix(naga): Reject matrix negation in WGSL (#9157)
* fix(naga): Reject matrix negation

* Polyfill matrix negation for GLSL
2026-03-05 18:12:37 -05:00
Andy Leiserson 7f13acbf82 test(cts): List updates (#9160) 2026-03-04 15:35:24 -08:00
Andy Leiserson 7a17f66aa5 Tweak some limit reporting (#9118)
* Dummy implementation of max_storage_{buffers,textures}_in_*_stage limits

* hal(vulkan, dx12): Clamp per-stage binding limits at max_bindings_per_bind_group - 1

* Update CHANGELOG

* Allocate per-stage limits out of max_bindings_per_bind_group

* Fix typo and adjust hal's `log` dependency
2026-03-04 18:39:47 +01:00
ecoricemon 0d166c51a8 fix(naga): Allow a trailing comma in WGSL attributes (#9127)
* fix(naga): Allow trailing comma in WGSL attributes

Allow trailing comma token in WGSL attributes such as '@location(1,)'

CTS change
* webgpu:shader,validation,shader_io,*
 - Pass ratio: 2369/2891 (81.94%) -> 2380/2891 (82.32%)

* Update CTS list related to #8892
2026-03-03 18:06:06 +01:00