Skip to content

Commit 1aae594

Browse files
authored
Test using 0 as the override value of @subgroup_size (#4678)
This patch adds a regression test that uses 0 as the override value of `@subgroup_size` for Dawn.
1 parent 663ea46 commit 1aae594

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/webgpu/shader/validation/extension/subgroup_size_control.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ g.test('subgroup_size_override_must_be_power_of_2_at_pipeline_creation')
183183
`Checks that when @subgroup_size is an override expression, it is a pipeline creation error
184184
if the override value resolves to a value that is not a power of 2.`
185185
)
186-
.params(u => u.combine('size', [3, 5, 7, 15, 31, 63, 127] as const))
186+
.params(u => u.combine('size', [0, 3, 5, 7, 15, 31, 63, 127] as const))
187187
.beforeAllSubcases(t => {
188188
t.selectDeviceOrSkipTestCase({
189189
requiredFeatures: ['subgroup-size-control'],

0 commit comments

Comments
 (0)