Commit 7c0a48e
authored
workgroup_size validation: support devices limited to 256 invocations (#4491)
On devices with maxComputeInvocationsPerWorkgroup=256, the
webgpu:shader,validation,shader_io,workgroup_size:workgroup_size:attr="override_expr"
test can fail when requesting a workgroup larger than 256.
Adjust the override expression case to generate no more than 256 invocations.1 parent 07253dd commit 7c0a48e
File tree
1 file changed
+1
-1
lines changed- src/webgpu/shader/validation/shader_io
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| |||
0 commit comments