From 3046684bcb9f1acdd320d43af609e661093e6da3 Mon Sep 17 00:00:00 2001 From: ShrekShao <5031596+shrekshao@users.noreply.github.com> Date: Mon, 28 Oct 2024 15:19:58 -0700 Subject: [PATCH] [Compat] skip in_render_misc related tests (#4015) --- .../resource_usages/texture/in_render_misc.spec.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/webgpu/api/validation/resource_usages/texture/in_render_misc.spec.ts b/src/webgpu/api/validation/resource_usages/texture/in_render_misc.spec.ts index a601fafec2fc..6d7cdb28c13e 100644 --- a/src/webgpu/api/validation/resource_usages/texture/in_render_misc.spec.ts +++ b/src/webgpu/api/validation/resource_usages/texture/in_render_misc.spec.ts @@ -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; @@ -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;