Skip to content

Add validation coverage for const SHIFT override#4649

Merged
jrprice merged 1 commit into
gpuweb:mainfrom
jrprice:shift-override
May 29, 2026
Merged

Add validation coverage for const SHIFT override#4649
jrprice merged 1 commit into
gpuweb:mainfrom
jrprice:shift-override

Conversation

@jrprice
Copy link
Copy Markdown
Contributor

@jrprice jrprice commented May 25, 2026

Test that we correctly reject excessive shift amounts when the LHS is constant and the RHS is an override.

Missing coverage as per a recent Tint bug.

@jrprice jrprice requested a review from dj2 May 25, 2026 20:50
@jrprice jrprice added the wgsl label May 25, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 25, 2026

Results for build job (at 973c828):

-webgpu:shader,validation,expression,binary,bitwise_shift:partial_eval_errors:* - 16 cases, 128 subcases (~8/case)
+webgpu:shader,validation,expression,binary,bitwise_shift:partial_eval_errors:* - 32 cases, 256 subcases (~8/case)
-TOTAL: 281345 cases, 2323004 subcases
+TOTAL: 281361 cases, 2323132 subcases

Test that we correctly reject excessive shift amounts when the LHS is
constant and the RHS is an override.

Missing coverage as per a recent Tint bug.
@jrprice jrprice merged commit b507bd1 into gpuweb:main May 29, 2026
1 check passed
@jrprice jrprice deleted the shift-override branch May 29, 2026 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants