Skip to content

Commit

Permalink
Compat: fix in_pass tests.
Browse files Browse the repository at this point in the history
These tests test combinations of texture bindings that are
not allowed in compat mode.

Note: That these combination fail in compat is tested in the
webgpu:compat,* tests
  • Loading branch information
greggman committed Nov 17, 2023
1 parent ec19459 commit c25f9a5
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,11 @@ g.test('subresources_and_binding_types_combination_for_color')
_resourceSuccess,
} = t.params;

t.skipIf(
t.isCompatibility,
'multiple views of the same texture in a single draw/dispatch are not supported in compat, nor are sub ranges of layers'
);

const texture = t.createTexture({
arrayLayerCount: TOTAL_LAYERS,
mipLevelCount: TOTAL_LEVELS,
Expand Down Expand Up @@ -653,6 +658,8 @@ g.test('subresources_and_binding_types_combination_for_aspect')
_usageSuccess,
} = t.params;

t.skipIf(t.isCompatibility, 'sub ranges of layers are not supported in compat mode');

const texture = t.createTexture({
arrayLayerCount: TOTAL_LAYERS,
mipLevelCount: TOTAL_LEVELS,
Expand Down

0 comments on commit c25f9a5

Please sign in to comment.