From f4ba7f241368ccecf784fa9ab7960bb29404b661 Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Fri, 1 Dec 2023 01:41:10 -0800 Subject: [PATCH] Fix image_copy tests --- src/webgpu/api/operation/command_buffer/image_copy.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webgpu/api/operation/command_buffer/image_copy.spec.ts b/src/webgpu/api/operation/command_buffer/image_copy.spec.ts index 451ef8a97687..369903d2f6fb 100644 --- a/src/webgpu/api/operation/command_buffer/image_copy.spec.ts +++ b/src/webgpu/api/operation/command_buffer/image_copy.spec.ts @@ -1216,7 +1216,7 @@ class ImageCopyTest extends TextureTestMixin(GPUTest) { binding: 0, resource: inputTexture.createView({ dimension: use2DArray ? '2d-array' : '2d', - ...(use2DArray && { + ...(!use2DArray && { baseArrayLayer: z, arrayLayerCount: 1, }),