Skip to content

Commit

Permalink
Compat: Skip multisample copyT2T tests
Browse files Browse the repository at this point in the history
Compat does not support multisample copyT2T
  • Loading branch information
greggman committed Feb 3, 2024
1 parent e9dc701 commit cc2ee95
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1376,6 +1376,9 @@ g.test('copy_multisampled_color')
texture can only be 1.
`
)
.beforeAllSubcases(t => {
t.skipIf(t.isCompatibility, 'multisample textures are not copyable in compatibility mode');
})
.fn(t => {
const textureSize = [32, 16, 1] as const;
const kColorFormat = 'rgba8unorm';
Expand Down Expand Up @@ -1564,6 +1567,9 @@ g.test('copy_multisampled_depth')
texture can only be 1.
`
)
.beforeAllSubcases(t => {
t.skipIf(t.isCompatibility, 'multisample textures are not copyable in compatibility mode');
})
.fn(t => {
const textureSize = [32, 16, 1] as const;
const kDepthFormat = 'depth24plus';
Expand Down

0 comments on commit cc2ee95

Please sign in to comment.