Skip to content

Commit

Permalink
textureStore: fix compat texture view restriction (#3976)
Browse files Browse the repository at this point in the history
  • Loading branch information
shrekshao authored Oct 2, 2024
1 parent c42a89c commit ac4f5e8
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,18 @@ g.test('out_of_bounds_array')
return true;
})
)
.beforeAllSubcases(t => {
if (t.isCompatibility) {
t.skipIf(
t.params.baseLevel !== 0,
'view base array layer must equal 0 in compatibility mode'
);
t.skipIf(
t.params.arrayLevels !== kArrayLevels,
'view array layers must equal texture array layers in compatibility mode'
);
}
})
.fn(t => {
const dim = '2d';
const view_dim = '2d-array';
Expand Down

0 comments on commit ac4f5e8

Please sign in to comment.