Skip to content

Commit

Permalink
[Compat] skip in_render_misc related tests (#4015)
Browse files Browse the repository at this point in the history
  • Loading branch information
shrekshao authored Oct 28, 2024
1 parent 694e61c commit 3046684
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ g.test('subresources,set_bind_group_on_same_index_color_texture')
.combine('view1Binding', kTextureBindingTypes)
.combine('view2Binding', kTextureBindingTypes)
)
.beforeAllSubcases(t => {
t.skipIf(
t.isCompatibility,
'texture views used in bindgroups must consist of the entire array in compatibility mode. textureView0 does not fit.'
);
})
.fn(t => {
const { useDifferentTextureAsTexture2, baseLayer2, view1Binding, view2Binding } = t.params;

Expand Down Expand Up @@ -232,6 +238,12 @@ g.test('subresources,set_unused_bind_group')
.combine('textureUsage0', kTextureBindingTypes)
.combine('textureUsage1', kTextureBindingTypes)
)
.beforeAllSubcases(t => {
t.skipIf(
t.isCompatibility,
'texture views used in bindgroups must consist of the entire array in compatibility mode. textureView0 does not fit.'
);
})
.fn(t => {
const { inRenderPass, textureUsage0, textureUsage1 } = t.params;

Expand Down

0 comments on commit 3046684

Please sign in to comment.