From cc2ee95267d0b6afdbac5f301b527334e8fed444 Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Fri, 2 Feb 2024 16:20:52 -0800 Subject: [PATCH] Compat: Skip multisample copyT2T tests Compat does not support multisample copyT2T --- .../operation/command_buffer/copyTextureToTexture.spec.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/webgpu/api/operation/command_buffer/copyTextureToTexture.spec.ts b/src/webgpu/api/operation/command_buffer/copyTextureToTexture.spec.ts index 082770504cac..f08b7fd5b42e 100644 --- a/src/webgpu/api/operation/command_buffer/copyTextureToTexture.spec.ts +++ b/src/webgpu/api/operation/command_buffer/copyTextureToTexture.spec.ts @@ -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'; @@ -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';