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, }),