Skip to content

Commit

Permalink
Update src/webgpu/api/operation/storage_texture/read_write.spec.ts
Browse files Browse the repository at this point in the history
Co-authored-by: ShrekShao <[email protected]>
  • Loading branch information
greggman and shrekshao authored Jan 25, 2024
1 parent f531d27 commit e8b992f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ g.test('basic')
.fn(t => {
const { format, shaderStage, textureDimension, depthOrArrayLayers } = t.params;

// In compatibility mode the maximum minimum invocations is 128 vs non-compat which is 256
// In compatibility mode the lowest maxComputeInvocationsPerWorkgroup is 128 vs non-compat which is 256
// So in non-compat we get 16 * 8 * 2, vs compat where we get 8 * 8 * 2
const kWidth = t.isCompatibility ? 8 : 16;
const height = textureDimension === '1d' ? 1 : 8;
Expand Down

0 comments on commit e8b992f

Please sign in to comment.