From 097ffd469c882d78504b60ae741458151fe8fded Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Mon, 27 Nov 2023 10:15:45 -0800 Subject: [PATCH] Revert "Reapply "Skip compressed image_copy tests in Compatibility mode. (#3140)" (#3161)" This reverts commit 0e06340de1e50169093ea5951d55a4dce983f719. These tests test writeBuffer, copyBufferToTexture, and copyTextureToBuffer as it says at the top of the file. They should not have been disabled for textures that don't support copyTextureToBuffer. For those cases they use rendering compare results. --- src/webgpu/api/operation/command_buffer/image_copy.spec.ts | 4 ---- 1 file changed, 4 deletions(-) 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 beb87c02c38f..4eebc3d611e4 100644 --- a/src/webgpu/api/operation/command_buffer/image_copy.spec.ts +++ b/src/webgpu/api/operation/command_buffer/image_copy.spec.ts @@ -1413,7 +1413,6 @@ bytes in copy works for every format. .beforeAllSubcases(t => { const info = kTextureFormatInfo[t.params.format]; t.skipIfTextureFormatNotSupported(t.params.format); - t.skipIfCopyTextureToTextureNotSupportedForFormat(t.params.format); t.selectDeviceOrSkipTestCase(info.feature); }) .fn(t => { @@ -1511,7 +1510,6 @@ works for every format with 2d and 2d-array textures. .beforeAllSubcases(t => { const info = kTextureFormatInfo[t.params.format]; t.skipIfTextureFormatNotSupported(t.params.format); - t.skipIfCopyTextureToTextureNotSupportedForFormat(t.params.format); t.selectDeviceOrSkipTestCase(info.feature); }) .fn(t => { @@ -1592,7 +1590,6 @@ for all formats. We pass origin and copyExtent as [number, number, number].` .beforeAllSubcases(t => { const info = kTextureFormatInfo[t.params.format]; t.skipIfTextureFormatNotSupported(t.params.format); - t.skipIfCopyTextureToTextureNotSupportedForFormat(t.params.format); t.selectDeviceOrSkipTestCase(info.feature); }) .fn(t => { @@ -1793,7 +1790,6 @@ TODO: Make a variant for depth-stencil formats. .beforeAllSubcases(t => { const info = kTextureFormatInfo[t.params.format]; t.skipIfTextureFormatNotSupported(t.params.format); - t.skipIfCopyTextureToTextureNotSupportedForFormat(t.params.format); t.selectDeviceOrSkipTestCase(info.feature); }) .fn(t => {