Skip to content

Commit

Permalink
Compat: Texture Intra Invocation Coherence
Browse files Browse the repository at this point in the history
Handle maxComputeInvocationsPerWorkgroup being lower in compat.
  • Loading branch information
greggman committed Feb 28, 2024
1 parent c0181cf commit 478c2f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ g.test('texture_intra_invocation_coherence')
t.skipIfLanguageFeatureNotSupported('readonly_and_readwrite_storage_textures');

const wgx = 16;
const wgy = 16;
const wgy = t.device.limits.maxComputeInvocationsPerWorkgroup / wgx;
const num_wgs_x = 2;
const num_wgs_y = 2;
const invocations = wgx * wgy * num_wgs_x * num_wgs_y;
Expand Down

0 comments on commit 478c2f6

Please sign in to comment.