[dawn] Expectations/suppression for pixel 10 failures Bug: 40238674,475503907 Change-Id: I7c3298871e43e99b1a20b8e31aa2741bb472bd77 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/284655 Commit-Queue: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org>
diff --git a/src/dawn/tests/end2end/BindingArrayTests.cpp b/src/dawn/tests/end2end/BindingArrayTests.cpp index 73e5470..d387ff9 100644 --- a/src/dawn/tests/end2end/BindingArrayTests.cpp +++ b/src/dawn/tests/end2end/BindingArrayTests.cpp
@@ -448,6 +448,8 @@ // Test accessing a binding_array of sampled textures passed as function argument. TEST_P(SizedBindingArrayTests, BindingArrayOfSampledTexturesPassedAsArgument) { + // TODO(crbug.com/40238674): Fails on Pixel 10 vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsVulkan()); // Crashes on the Intel Windows Vulkan shader compiler. DAWN_SUPPRESS_TEST_IF(IsVulkan() && IsWindows() && IsIntel());
diff --git a/src/dawn/tests/end2end/BufferZeroInitTests.cpp b/src/dawn/tests/end2end/BufferZeroInitTests.cpp index c1bc3a3..74e7d55 100644 --- a/src/dawn/tests/end2end/BufferZeroInitTests.cpp +++ b/src/dawn/tests/end2end/BufferZeroInitTests.cpp
@@ -1134,6 +1134,9 @@ DAWN_SUPPRESS_TEST_IF(IsANGLE()); // TODO(crbug.com/dawn/1084) DAWN_SUPPRESS_TEST_IF(IsLinux() && IsVulkan() && IsNvidia()); // TODO(crbug.com/dawn/1214) + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); + // TODO(crbug.com/dawn/2295): diagnose this failure on Pixel 4 OpenGLES DAWN_SUPPRESS_TEST_IF(IsOpenGLES() && IsAndroid() && IsQualcomm()); // TODO(crbug.com/dawn/2295): diagnose this failure on Pixel 6 OpenGLES
diff --git a/src/dawn/tests/end2end/CopyTests.cpp b/src/dawn/tests/end2end/CopyTests.cpp index 6b8f8d4..ab57a5b 100644 --- a/src/dawn/tests/end2end/CopyTests.cpp +++ b/src/dawn/tests/end2end/CopyTests.cpp
@@ -1092,6 +1092,8 @@ // Test that copying an entire texture with 256-byte aligned dimensions works TEST_P(CopyTests_T2B, FullTextureAligned) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles and vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); constexpr uint32_t kWidth = 256; constexpr uint32_t kHeight = 128; @@ -1116,6 +1118,8 @@ // Test that copying an entire texture without 256-byte aligned dimensions works TEST_P(CopyTests_T2B, FullTextureUnaligned) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles and vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); constexpr uint32_t kWidth = 259; constexpr uint32_t kHeight = 127; @@ -1221,6 +1225,8 @@ // Test that copying regions with 256-byte aligned sizes works TEST_P(CopyTests_T2B, TextureRegionAligned) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles and vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); constexpr uint32_t kWidth = 256; constexpr uint32_t kHeight = 128; for (unsigned int w : {64, 128, 256}) { @@ -1234,6 +1240,8 @@ // Test that copying regions without 256-byte aligned sizes works TEST_P(CopyTests_T2B, TextureRegionUnaligned) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles and vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); constexpr uint32_t kWidth = 256; constexpr uint32_t kHeight = 128; @@ -1250,6 +1258,8 @@ // Test that copying mips with 256-byte aligned sizes works TEST_P(CopyTests_T2B, TextureMipAligned) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles and vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); constexpr uint32_t kWidth = 256; constexpr uint32_t kHeight = 128; @@ -1268,6 +1278,8 @@ // Test that copying mips when one dimension is 256-byte aligned and another dimension reach one // works TEST_P(CopyTests_T2B, TextureMipDimensionReachOne) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles and vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); constexpr uint32_t mipLevelCount = 4; constexpr uint32_t kWidth = 256 << mipLevelCount; constexpr uint32_t kHeight = 2; @@ -1288,6 +1300,8 @@ // Test that copying mips without 256-byte aligned sizes works TEST_P(CopyTests_T2B, TextureMipUnaligned) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles and vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); // TODO(dawn:1880): suppress failing on Windows Intel Vulkan backend with // blit path toggles on. These toggles are only turned on for this // backend in the test so the defect won't impact the production code directly. But something is @@ -1319,6 +1333,8 @@ // Test that copying with a 512-byte aligned buffer offset works TEST_P(CopyTests_T2B, OffsetBufferAligned) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles and vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); // TODO(crbug.com/dawn/2294): diagnose T2B failures on Pixel 4 OpenGLES DAWN_SUPPRESS_TEST_IF(IsOpenGLES() && IsAndroid() && IsQualcomm() && GetParam().mTextureFormat == wgpu::TextureFormat::R16Float); @@ -1340,6 +1356,8 @@ // Test that copying without a 512-byte aligned buffer offset works TEST_P(CopyTests_T2B, OffsetBufferUnaligned) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles and vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); // TODO(crbug.com/dawn/2294): diagnose T2B failures on Pixel 4 OpenGLES DAWN_SUPPRESS_TEST_IF(IsOpenGLES() && IsAndroid() && IsQualcomm()); @@ -1365,6 +1383,8 @@ // Test that copying without a 512-byte aligned buffer offset works. Note: the buffer is mappable. TEST_P(CopyTests_T2B, MappableBufferWithOffsetUnaligned) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles and vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); // TODO(crbug.com/dawn/2294): diagnose T2B failures on Pixel 4 OpenGLES DAWN_SUPPRESS_TEST_IF(IsOpenGLES() && IsAndroid() && IsQualcomm()); @@ -1495,6 +1515,8 @@ // Test that copying without a 512-byte aligned buffer offset that is greater than the bytes per row // works TEST_P(CopyTests_T2B, OffsetBufferUnalignedSmallBytesPerRow) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles and vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); // TODO(crbug.com/dawn/2294): diagnose T2B failures on Pixel 4 OpenGLES DAWN_SUPPRESS_TEST_IF(IsOpenGLES() && IsAndroid() && IsQualcomm()); @@ -1520,6 +1542,8 @@ // Test that copying with a greater bytes per row than needed on a 256-byte aligned texture works TEST_P(CopyTests_T2B, BytesPerRowAligned) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles and vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); constexpr uint32_t kWidth = 256; constexpr uint32_t kHeight = 128; @@ -1537,6 +1561,8 @@ // Test that copying with a greater bytes per row than needed on a texture that is not 256-byte // aligned works TEST_P(CopyTests_T2B, BytesPerRowUnaligned) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles and vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); constexpr uint32_t kWidth = 259; constexpr uint32_t kHeight = 127; @@ -1603,6 +1629,8 @@ // take effect. If rowsPerImage takes effect, it looks like the copy may go past the end of the // buffer. TEST_P(CopyTests_T2B, RowsPerImageShouldNotCauseBufferOOBIfDepthOrArrayLayersIsOne) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles and vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); // TODO(crbug.com/dawn/2294): diagnose T2B failures on Pixel 4 OpenGLES DAWN_SUPPRESS_TEST_IF(IsOpenGLES() && IsAndroid() && IsQualcomm()); @@ -1652,6 +1680,8 @@ // Test that copying whole texture 2D array layers in one texture-to-buffer-copy works. TEST_P(CopyTests_T2B, Texture2DArrayFull) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles and vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); constexpr uint32_t kWidth = 256; constexpr uint32_t kHeight = 128; constexpr uint32_t kLayers = 6u; @@ -1664,6 +1694,8 @@ // Test that copying a range of texture 2D array layers in one texture-to-buffer-copy works. TEST_P(CopyTests_T2B, Texture2DArraySubRegion) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles and vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); constexpr uint32_t kWidth = 256; constexpr uint32_t kHeight = 128; constexpr uint32_t kLayers = 6u; @@ -1680,6 +1712,8 @@ // Test that copying texture 2D array mips with 256-byte aligned sizes works TEST_P(CopyTests_T2B, Texture2DArrayMip) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles and vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); constexpr uint32_t kWidth = 256; constexpr uint32_t kHeight = 128; constexpr uint32_t kLayers = 6u; @@ -1700,6 +1734,8 @@ // Test that copying from a range of texture 2D array layers in one texture-to-buffer-copy when // RowsPerImage is not equal to the height of the texture works. TEST_P(CopyTests_T2B, Texture2DArrayRegionNonzeroRowsPerImage) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles and vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); constexpr uint32_t kWidth = 256; constexpr uint32_t kHeight = 128; constexpr uint32_t kLayers = 6u; @@ -1720,6 +1756,8 @@ // Test a special code path in the D3D12 backends when (BytesPerRow * RowsPerImage) is not a // multiple of 512. TEST_P(CopyTests_T2B, Texture2DArrayRegionWithOffsetOddRowsPerImage) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles and vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); constexpr uint32_t kWidth = 64; constexpr uint32_t kHeight = 128; constexpr uint32_t kLayers = 8u; @@ -1742,6 +1780,8 @@ // Test a special code path in the D3D12 backends when (BytesPerRow * RowsPerImage) is a multiple // of 512. TEST_P(CopyTests_T2B, Texture2DArrayRegionWithOffsetEvenRowsPerImage) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles and vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); constexpr uint32_t kWidth = 64; constexpr uint32_t kHeight = 128; constexpr uint32_t kLayers = 8u; @@ -1801,6 +1841,8 @@ // Test that copying whole 3D texture in one texture-to-buffer-copy works. TEST_P(CopyTests_T2B, Texture3DFull) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles and vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); constexpr uint32_t kWidth = 256; constexpr uint32_t kHeight = 128; constexpr uint32_t kDepth = 6; @@ -1814,6 +1856,8 @@ // Test that copying a range of texture 3D depths in one texture-to-buffer-copy works. TEST_P(CopyTests_T2B, Texture3DSubRegion) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles and vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); constexpr uint32_t kWidth = 256; constexpr uint32_t kHeight = 128; constexpr uint32_t kDepth = 6; @@ -1829,6 +1873,8 @@ } TEST_P(CopyTests_T2B, Texture3DNoSplitRowDataWithEmptyFirstRow) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles and vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); // TODO(crbug.com/dawn/2294): diagnose T2B failures on Pixel 4 OpenGLES DAWN_SUPPRESS_TEST_IF(IsOpenGLES() && IsAndroid() && IsQualcomm()); @@ -1857,6 +1903,8 @@ } TEST_P(CopyTests_T2B, Texture3DSplitRowDataWithoutEmptyFirstRow) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles and vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); // TODO(crbug.com/dawn/2294): diagnose T2B failures on Pixel 4 OpenGLES DAWN_SUPPRESS_TEST_IF(IsOpenGLES() && IsAndroid() && IsQualcomm()); @@ -1880,6 +1928,8 @@ } TEST_P(CopyTests_T2B, Texture3DSplitRowDataWithEmptyFirstRow) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles and vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); // TODO(crbug.com/dawn/2294): diagnose T2B failures on Pixel 4 OpenGLES DAWN_SUPPRESS_TEST_IF(IsOpenGLES() && IsAndroid() && IsQualcomm()); @@ -1907,6 +1957,8 @@ } TEST_P(CopyTests_T2B, Texture3DCopyHeightIsOneCopyWidthIsTiny) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles and vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); // TODO(crbug.com/dawn/2294): diagnose T2B failures on Pixel 4 OpenGLES DAWN_SUPPRESS_TEST_IF(IsOpenGLES() && IsAndroid() && IsQualcomm()); @@ -1935,6 +1987,8 @@ } TEST_P(CopyTests_T2B, Texture3DCopyHeightIsOneCopyWidthIsSmall) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles and vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); // TODO(crbug.com/dawn/2294): diagnose T2B failures on Pixel 4 OpenGLES DAWN_SUPPRESS_TEST_IF(IsOpenGLES() && IsAndroid() && IsQualcomm()); @@ -1965,6 +2019,8 @@ // Test that copying texture 3D array mips with 256-byte aligned sizes works TEST_P(CopyTests_T2B, Texture3DMipAligned) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles and vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); constexpr uint32_t kWidth = 256; constexpr uint32_t kHeight = 128; constexpr uint32_t kDepth = 64u; @@ -1984,6 +2040,8 @@ // Test that copying texture 3D array mips with 256-byte unaligned sizes works TEST_P(CopyTests_T2B, Texture3DMipUnaligned) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles and vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); constexpr uint32_t kWidth = 261; constexpr uint32_t kHeight = 123; constexpr uint32_t kDepth = 69u; @@ -2127,6 +2185,8 @@ // Test that copying 2d texture array with binding view dimension set to cube. TEST_P(CopyTests_T2B_Compat, TextureCubeFull) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 32; constexpr uint32_t kHeight = 32; constexpr uint32_t kLayers = 6; @@ -2140,6 +2200,8 @@ // Test that copying a range of cube texture layers in one texture-to-buffer-copy works. TEST_P(CopyTests_T2B_Compat, TextureCubeSubRegion) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 32; constexpr uint32_t kHeight = 32; constexpr uint32_t kLayers = 6; @@ -2157,6 +2219,8 @@ // Test that copying texture 2D array mips with 256-byte aligned sizes works TEST_P(CopyTests_T2B_Compat, TextureCubeMip) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 32; constexpr uint32_t kHeight = 32; constexpr uint32_t kLayers = 6; @@ -2178,6 +2242,8 @@ // Test that copying from a range of texture 2D array layers in one texture-to-buffer-copy when // RowsPerImage is not equal to the height of the texture works. TEST_P(CopyTests_T2B_Compat, TextureCubeRegionNonzeroRowsPerImage) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 32; constexpr uint32_t kHeight = 32; constexpr uint32_t kLayers = 6; @@ -2220,6 +2286,8 @@ // Test that copying an entire texture with 256-byte aligned dimensions works TEST_P(CopyTests_B2T, FullTextureAligned) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 256; constexpr uint32_t kHeight = 128; @@ -2244,6 +2312,8 @@ // Test that copying an entire texture without 256-byte aligned dimensions works TEST_P(CopyTests_B2T, FullTextureUnaligned) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 259; constexpr uint32_t kHeight = 127; @@ -2255,6 +2325,8 @@ // Test that reading pixels from a 256-byte aligned texture works TEST_P(CopyTests_B2T, PixelReadAligned) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 256; constexpr uint32_t kHeight = 128; BufferSpec pixelBuffer = MinimumBufferSpec(1, 1); @@ -2302,6 +2374,8 @@ // Test that copying pixels from a texture that is not 256-byte aligned works TEST_P(CopyTests_B2T, PixelReadUnaligned) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 259; constexpr uint32_t kHeight = 127; BufferSpec pixelBuffer = MinimumBufferSpec(1, 1); @@ -2349,6 +2423,8 @@ // Test that copying regions with 256-byte aligned sizes works TEST_P(CopyTests_B2T, TextureRegionAligned) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); // TODO(crbug.com/dawn/2294): diagnose T2B failures on Pixel 4 OpenGLES DAWN_SUPPRESS_TEST_IF(IsOpenGLES() && IsAndroid() && IsQualcomm()); @@ -2365,6 +2441,8 @@ // Test that copying regions without 256-byte aligned sizes works TEST_P(CopyTests_B2T, TextureRegionUnaligned) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 256; constexpr uint32_t kHeight = 128; @@ -2381,6 +2459,8 @@ // Test that copying mips with 256-byte aligned sizes works TEST_P(CopyTests_B2T, TextureMipAligned) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 256; constexpr uint32_t kHeight = 128; @@ -2398,6 +2478,8 @@ // Test that copying mips without 256-byte aligned sizes works TEST_P(CopyTests_B2T, TextureMipUnaligned) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 259; constexpr uint32_t kHeight = 127; @@ -2415,6 +2497,8 @@ // Test that copying with a 512-byte aligned buffer offset works TEST_P(CopyTests_B2T, OffsetBufferAligned) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 256; constexpr uint32_t kHeight = 128; @@ -2432,6 +2516,8 @@ // Test that copying without a 512-byte aligned buffer offset works TEST_P(CopyTests_B2T, OffsetBufferUnaligned) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); // TODO(crbug.com/459848482): Flaky on Win/Snapdragon X Elite w/ D3D11 and // backend validation. DAWN_SUPPRESS_TEST_IF(IsWindows() && IsQualcomm() && IsD3D11() && IsBackendValidationEnabled()); @@ -2456,6 +2542,8 @@ // Test that copying without a 512-byte aligned buffer offset that is greater than the bytes per row // works TEST_P(CopyTests_B2T, OffsetBufferUnalignedSmallBytesPerRow) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); // TODO(crbug.com/459848482): Flaky on Win/Snapdragon X Elite w/ D3D11 and // backend validation. DAWN_SUPPRESS_TEST_IF(IsWindows() && IsQualcomm() && IsD3D11() && IsBackendValidationEnabled()); @@ -2477,6 +2565,8 @@ // Test that copying with a greater bytes per row than needed on a 256-byte aligned texture works TEST_P(CopyTests_B2T, BytesPerRowAligned) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 256; constexpr uint32_t kHeight = 128; @@ -2494,6 +2584,8 @@ // Test that copying with a greater bytes per row than needed on a texture that is not 256-byte // aligned works TEST_P(CopyTests_B2T, BytesPerRowUnaligned) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 259; constexpr uint32_t kHeight = 127; @@ -2511,6 +2603,8 @@ // Test that copying with bytesPerRow = 0 and bytesPerRow < bytesInACompleteRow works // when we're copying one row only TEST_P(CopyTests_B2T, BytesPerRowWithOneRowCopy) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 259; constexpr uint32_t kHeight = 127; @@ -2527,6 +2621,8 @@ } TEST_P(CopyTests_B2T, StrideSpecialCases) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); TextureSpec textureSpec; textureSpec.textureSize = {4, 4, 4}; @@ -2558,6 +2654,8 @@ // Test that copying whole texture 2D array layers in one texture-to-buffer-copy works. TEST_P(CopyTests_B2T, Texture2DArrayFull) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 256; constexpr uint32_t kHeight = 128; constexpr uint32_t kLayers = 6u; @@ -2570,6 +2668,8 @@ // Test that copying a range of texture 2D array layers in one texture-to-buffer-copy works. TEST_P(CopyTests_B2T, Texture2DArraySubRegion) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 256; constexpr uint32_t kHeight = 128; constexpr uint32_t kLayers = 6u; @@ -2587,6 +2687,8 @@ // Test that copying into a range of texture 2D array layers in one texture-to-buffer-copy when // RowsPerImage is not equal to the height of the texture works. TEST_P(CopyTests_B2T, Texture2DArrayRegionNonzeroRowsPerImage) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 256; constexpr uint32_t kHeight = 128; constexpr uint32_t kLayers = 6u; @@ -2607,6 +2709,8 @@ // Test a special code path in the D3D12 backends when (BytesPerRow * RowsPerImage) is not a // multiple of 512. TEST_P(CopyTests_B2T, Texture2DArrayRegionWithOffsetOddRowsPerImage) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 64; constexpr uint32_t kHeight = 128; constexpr uint32_t kLayers = 8u; @@ -2629,6 +2733,8 @@ // Test a special code path in the D3D12 backends when (BytesPerRow * RowsPerImage) is a multiple // of 512. TEST_P(CopyTests_B2T, Texture2DArrayRegionWithOffsetEvenRowsPerImage) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 64; constexpr uint32_t kHeight = 128; constexpr uint32_t kLayers = 8u; @@ -2650,6 +2756,8 @@ // Test that copying whole texture 3D in one buffer-to-texture-copy works. TEST_P(CopyTests_B2T, Texture3DFull) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 256; constexpr uint32_t kHeight = 128; constexpr uint32_t kDepth = 6; @@ -2663,6 +2771,8 @@ // Test that copying a range of texture 3D Depths in one texture-to-buffer-copy works. TEST_P(CopyTests_B2T, Texture3DSubRegion) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 256; constexpr uint32_t kHeight = 128; constexpr uint32_t kDepth = 6; @@ -2678,6 +2788,8 @@ } TEST_P(CopyTests_B2T, Texture3DNoSplitRowDataWithEmptyFirstRow) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 2; constexpr uint32_t kHeight = 4; constexpr uint32_t kDepth = 3; @@ -2700,6 +2812,8 @@ } TEST_P(CopyTests_B2T, Texture3DSplitRowDataWithoutEmptyFirstRow) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 259; constexpr uint32_t kHeight = 127; constexpr uint32_t kDepth = 3; @@ -2717,6 +2831,8 @@ } TEST_P(CopyTests_B2T, Texture3DSplitRowDataWithEmptyFirstRow) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 39; constexpr uint32_t kHeight = 4; constexpr uint32_t kDepth = 3; @@ -2738,6 +2854,8 @@ } TEST_P(CopyTests_B2T, Texture3DCopyHeightIsOneCopyWidthIsTiny) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); // TODO(crbug.com/dawn/2294): diagnose T2B failures on Pixel 4 OpenGLES DAWN_SUPPRESS_TEST_IF(IsOpenGLES() && IsAndroid() && IsQualcomm()); @@ -2763,6 +2881,8 @@ } TEST_P(CopyTests_B2T, Texture3DCopyHeightIsOneCopyWidthIsSmall) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 39; constexpr uint32_t kHeight = 1; constexpr uint32_t kDepth = 3; @@ -2787,6 +2907,8 @@ // Test that copying texture 3D array mips with 256-byte aligned sizes works TEST_P(CopyTests_B2T, Texture3DMipAligned) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 256; constexpr uint32_t kHeight = 128; constexpr uint32_t kDepth = 64u; @@ -2806,6 +2928,8 @@ // Test that copying texture 3D array mips with 256-byte unaligned sizes works TEST_P(CopyTests_B2T, Texture3DMipUnaligned) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 261; constexpr uint32_t kHeight = 123; constexpr uint32_t kDepth = 69u; @@ -3091,6 +3215,8 @@ // A regression test (from WebGPU CTS) for an Intel D3D12 driver bug about T2T copy with specific // texture formats. See http://crbug.com/1161355 for more details. TEST_P(CopyTests_T2T, CopyFromNonZeroMipLevelWithTexelBlockSizeLessThan4Bytes) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); // TODO(crbug.com/473582006): [Capture] issue calling ResolveDeferredExpectationsNow. DAWN_SUPPRESS_TEST_IF(IsCaptureReplayCheckingEnabled()); @@ -3179,6 +3305,8 @@ // Test that copying whole 3D texture in one texture-to-texture-copy works. TEST_P(CopyTests_T2T, Texture3DFull) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); // TODO(crbug.com/dawn/2294): diagnose T2B failures on Pixel 4 OpenGLES DAWN_SUPPRESS_TEST_IF(IsOpenGLES() && IsAndroid() && IsQualcomm()); @@ -3194,6 +3322,8 @@ // Test that copying from one mip level to another mip level within the same 3D texture works. TEST_P(CopyTests_T2T, Texture3DSameTextureDifferentMipLevels) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 256; constexpr uint32_t kHeight = 128; constexpr uint32_t kDepth = 6u; @@ -3228,6 +3358,8 @@ // Test that copying between 3D texture and 2D array textures works. It includes partial copy // for src and/or dst texture, non-zero offset (copy origin), non-zero mip level. TEST_P(CopyTests_T2T, Texture3DAnd2DArraySubRegion) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); // TODO(crbug.com/dawn/2294): diagnose T2B failures on Pixel 4 OpenGLES DAWN_SUPPRESS_TEST_IF(IsOpenGLES() && IsAndroid() && IsQualcomm()); @@ -3290,6 +3422,8 @@ // Test that copying whole 2D array to a 3D texture in one texture-to-texture-copy works. TEST_P(CopyTests_T2T, Texture2DArrayTo3DFull) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 256; constexpr uint32_t kHeight = 128; constexpr uint32_t kDepth = 6u; @@ -3303,6 +3437,8 @@ // Test that copying subregion of a 3D texture in one texture-to-texture-copy works. TEST_P(CopyTests_T2T, Texture3DSubRegion) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 256; constexpr uint32_t kHeight = 128; constexpr uint32_t kDepth = 6u; @@ -3330,6 +3466,8 @@ // Test that copying subregion of a 2D array to a 3D texture to in one texture-to-texture-copy // works. TEST_P(CopyTests_T2T, Texture2DArrayTo3DSubRegion) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 256; constexpr uint32_t kHeight = 128; constexpr uint32_t kDepth = 6u; @@ -3343,6 +3481,8 @@ // Test that copying texture 3D array mips in one texture-to-texture-copy works TEST_P(CopyTests_T2T, Texture3DMipAligned) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 256; constexpr uint32_t kHeight = 128; constexpr uint32_t kDepth = 64u; @@ -3362,6 +3502,8 @@ // Test that copying texture 3D array mips in one texture-to-texture-copy works TEST_P(CopyTests_T2T, Texture3DMipUnaligned) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 261; constexpr uint32_t kHeight = 123; constexpr uint32_t kDepth = 69u;
diff --git a/src/dawn/tests/end2end/CopyTextureForBrowserTests.cpp b/src/dawn/tests/end2end/CopyTextureForBrowserTests.cpp index 9678287..3391a1c 100644 --- a/src/dawn/tests/end2end/CopyTextureForBrowserTests.cpp +++ b/src/dawn/tests/end2end/CopyTextureForBrowserTests.cpp
@@ -236,6 +236,7 @@ void SetUp() override { Parent::SetUp(); + pipeline = MakeTestPipeline(); uint32_t uniformBufferData[] = { @@ -1109,30 +1110,40 @@ // Verify CopyTextureForBrowserTests works with internal pipeline. // The case do copy without any transform. TEST_P(CopyTextureForBrowser_Basic, PassthroughCopy) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); DAWN_SUPPRESS_TEST_IF(IsOpenGL() && IsLinux()); DoBasicCopyTest({10, 1}); } TEST_P(CopyTextureForBrowser_Basic, VerifyCopyOnXDirection) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); DAWN_SUPPRESS_TEST_IF(IsOpenGL() && IsLinux()); DoBasicCopyTest({1000, 1}); } TEST_P(CopyTextureForBrowser_Basic, VerifyCopyOnYDirection) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); DAWN_SUPPRESS_TEST_IF(IsOpenGL() && IsLinux()); DoBasicCopyTest({1, 1000}); } TEST_P(CopyTextureForBrowser_Basic, VerifyCopyFromLargeTexture) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); DAWN_SUPPRESS_TEST_IF(IsOpenGL() && IsLinux()); DoBasicCopyTest({899, 999}); } TEST_P(CopyTextureForBrowser_Basic, VerifyFlipY) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); DAWN_SUPPRESS_TEST_IF(IsOpenGL() && IsLinux()); wgpu::CopyTextureForBrowserOptions options = {}; @@ -1142,6 +1153,8 @@ } TEST_P(CopyTextureForBrowser_Basic, VerifyFlipYInSlimTexture) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); DAWN_SUPPRESS_TEST_IF(IsOpenGL() && IsLinux()); wgpu::CopyTextureForBrowserOptions options = {}; @@ -1162,6 +1175,8 @@ // Verify |CopyTextureForBrowser| doing color conversion correctly when // the source texture is RGBA8Unorm format. TEST_P(CopyTextureForBrowser_Formats, ColorConversion) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); // BGRA8UnormSrgb is unsupported in Compatibility mode. DAWN_TEST_UNSUPPORTED_IF(IsCompatibilityMode() && GetParam().mDstFormat == wgpu::TextureFormat::BGRA8UnormSrgb); @@ -1200,6 +1215,8 @@ // green texture originally. After the subrect copy, affected part // in dst texture should be red and other part should remain green. TEST_P(CopyTextureForBrowser_SubRects, CopySubRect) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); DAWN_SUPPRESS_TEST_IF(IsOpenGL() && IsLinux()); // Tests skip due to crbug.com/dawn/592. @@ -1222,6 +1239,8 @@ // Verify |CopyTextureForBrowser| doing alpha changes. // Test srcAlphaMode and dstAlphaMode: Premultiplied, Unpremultiplied. TEST_P(CopyTextureForBrowser_AlphaMode, alphaMode) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); DAWN_SUPPRESS_TEST_IF(IsOpenGL() && IsLinux()); // Tests skip due to crbug.com/dawn/1104. @@ -1241,6 +1260,8 @@ // Verify |CopyTextureForBrowser| doing color space conversion. TEST_P(CopyTextureForBrowser_ColorSpace, colorSpaceConversion) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); DAWN_SUPPRESS_TEST_IF(IsOpenGL() && IsLinux()); // Tests skip due to crbug.com/dawn/1104.
diff --git a/src/dawn/tests/end2end/CreatePipelineAsyncTests.cpp b/src/dawn/tests/end2end/CreatePipelineAsyncTests.cpp index 560eff3..c075f9d 100644 --- a/src/dawn/tests/end2end/CreatePipelineAsyncTests.cpp +++ b/src/dawn/tests/end2end/CreatePipelineAsyncTests.cpp
@@ -892,6 +892,9 @@ // Verify calling CreateRenderPipelineAsync() with valid depthStencilState works on all backends. TEST_P(CreatePipelineAsyncTest, CreateRenderPipelineAsyncWithDepthStencilState) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); + wgpu::TextureDescriptor textureDescriptor; textureDescriptor.size = {1, 1, 1}; textureDescriptor.format = wgpu::TextureFormat::RGBA8Unorm;
diff --git a/src/dawn/tests/end2end/DepthBiasTests.cpp b/src/dawn/tests/end2end/DepthBiasTests.cpp index 6215f6f..fe2c840 100644 --- a/src/dawn/tests/end2end/DepthBiasTests.cpp +++ b/src/dawn/tests/end2end/DepthBiasTests.cpp
@@ -46,6 +46,7 @@ protected: void SetUp() override { DawnTest::SetUp(); + // TODO(crbug.com/473870505): [Capture] support depth/stencil and multi-planar textures. DAWN_SUPPRESS_TEST_IF(IsCaptureReplayCheckingEnabled()); } @@ -165,6 +166,8 @@ // Test adding positive bias to output TEST_P(DepthBiasTests, PositiveBiasOnFloat) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); // NVIDIA GPUs under Vulkan seem to be using a different scale than everyone else. DAWN_SUPPRESS_TEST_IF(IsVulkan() && IsNvidia()); @@ -207,6 +210,8 @@ // Test adding negative bias to output TEST_P(DepthBiasTests, NegativeBiasOnFloat) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); // NVIDIA GPUs seems to be using a different scale than everyone else DAWN_SUPPRESS_TEST_IF(IsVulkan() && IsNvidia()); // Draw quad flat on z = 0.25 with -0.25 bias, depth clear of 0.125 @@ -245,6 +250,8 @@ // Test tiledX quad with no bias TEST_P(DepthBiasTests, NoBiasTiltedXOnFloat) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); // Draw quad with z from 0 to 0.5 with no bias RunDepthBiasTest(wgpu::TextureFormat::Depth32Float, 0, QuadAngle::TiltedX, 0, 0, 0); @@ -260,6 +267,8 @@ // Test adding positive slope bias to output TEST_P(DepthBiasTests, PositiveSlopeBiasOnFloat) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); // Draw quad with z from 0 to 0.5 with a slope bias of 1 RunDepthBiasTest(wgpu::TextureFormat::Depth32Float, 0, QuadAngle::TiltedX, 0, 1, 0); @@ -275,6 +284,8 @@ // Test adding negative half slope bias to output TEST_P(DepthBiasTests, NegativeHalfSlopeBiasOnFloat) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); // Draw quad with z from 0 to 0.5 with a slope bias of -0.5 RunDepthBiasTest(wgpu::TextureFormat::Depth32Float, 0, QuadAngle::TiltedX, 0, -0.5, 0);
diff --git a/src/dawn/tests/end2end/DepthStencilCopyTests.cpp b/src/dawn/tests/end2end/DepthStencilCopyTests.cpp index 9a75eb8..6e59860 100644 --- a/src/dawn/tests/end2end/DepthStencilCopyTests.cpp +++ b/src/dawn/tests/end2end/DepthStencilCopyTests.cpp
@@ -1150,6 +1150,8 @@ // Test copying the stencil-only aspect into a buffer. TEST_P(StencilCopyTests, FromStencilAspect) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); // TODO(42242119): hang/crash on Qualcomm Adreno X1. DAWN_SUPPRESS_TEST_IF(IsD3D11() && IsQualcomm()); @@ -1177,6 +1179,8 @@ // Test copying the stencil-only aspect into a buffer at a non-zero offset TEST_P(StencilCopyTests, FromStencilAspectAtNonZeroOffset) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); // TODO(42242119): hang/crash on Qualcomm Adreno X1. DAWN_SUPPRESS_TEST_IF(IsD3D11() && IsQualcomm()); @@ -1206,6 +1210,8 @@ // Test copying the non-zero mip, stencil-only aspect into a buffer. TEST_P(StencilCopyTests, FromNonZeroMipStencilAspect) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); // TODO(42242119): hang/crash on Qualcomm Adreno X1. DAWN_SUPPRESS_TEST_IF(IsD3D11() && IsQualcomm()); @@ -1335,12 +1341,16 @@ // Test copying to the stencil-aspect of a texture TEST_P(StencilCopyTests, ToStencilAspect) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kBufferCopyOffset = 0; DoCopyToStencilTest(kBufferCopyOffset); } // Test copying to the stencil-aspect of a texture at non-zero offset TEST_P(StencilCopyTests, ToStencilAspectAtNonZeroOffset) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr std::array<uint32_t, 2> kBufferCopyOffsets = {8, 512}; for (uint32_t offset : kBufferCopyOffsets) { DoCopyToStencilTest(offset); @@ -1398,6 +1408,8 @@ }; TEST_P(StencilCopyTests_Compat, FromStencilAspect) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kTestLevel = 0; constexpr uint32_t kBufferCopyOffset = 0; constexpr uint32_t kTestTextureSizes[][2] = { @@ -1417,6 +1429,8 @@ // Test copying the stencil-only aspect into a buffer at a non-zero offset TEST_P(StencilCopyTests_Compat, FromStencilAspectAtNonZeroOffset) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kTestLevel = 0; constexpr std::array<uint32_t, 2> kBufferCopyOffsets = {4u, 512u}; constexpr uint32_t kTestTextureSizes[][2] = { @@ -1437,6 +1451,8 @@ // Test copying the non-zero mip, stencil-only aspect into a buffer. TEST_P(StencilCopyTests_Compat, FromNonZeroMipStencilAspect) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kWidth = 9; constexpr uint32_t kHeight = 9; constexpr uint32_t kBufferCopyOffset = 0;
diff --git a/src/dawn/tests/end2end/DepthStencilSamplingTests.cpp b/src/dawn/tests/end2end/DepthStencilSamplingTests.cpp index 5352852..4495f6b 100644 --- a/src/dawn/tests/end2end/DepthStencilSamplingTests.cpp +++ b/src/dawn/tests/end2end/DepthStencilSamplingTests.cpp
@@ -644,6 +644,9 @@ // TODO(crbug.com/444741058): Fails on Intel-based brya devices running Android Desktop. DAWN_SUPPRESS_TEST_IF(IsOpenGLES() && IsIntel() && IsAndroid()); + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); + constexpr uint32_t kWidth = 16; wgpu::ShaderModule module = utils::CreateShaderModule(device, R"( const kWidth = 16.0;
diff --git a/src/dawn/tests/end2end/DepthStencilStateTests.cpp b/src/dawn/tests/end2end/DepthStencilStateTests.cpp index 6e658ea..04cd380 100644 --- a/src/dawn/tests/end2end/DepthStencilStateTests.cpp +++ b/src/dawn/tests/end2end/DepthStencilStateTests.cpp
@@ -449,22 +449,32 @@ } TEST_P(DepthStencilStateTest, DepthEqual) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); CheckDepthCompareFunction(wgpu::CompareFunction::Equal, false, true, false); } TEST_P(DepthStencilStateTest, DepthGreater) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); CheckDepthCompareFunction(wgpu::CompareFunction::Greater, false, false, true); } TEST_P(DepthStencilStateTest, DepthGreaterEqual) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); CheckDepthCompareFunction(wgpu::CompareFunction::GreaterEqual, false, true, true); } TEST_P(DepthStencilStateTest, DepthLess) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); CheckDepthCompareFunction(wgpu::CompareFunction::Less, true, false, false); } TEST_P(DepthStencilStateTest, DepthLessEqual) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); CheckDepthCompareFunction(wgpu::CompareFunction::LessEqual, true, true, false); } @@ -473,6 +483,8 @@ } TEST_P(DepthStencilStateTest, DepthNotEqual) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); CheckDepthCompareFunction(wgpu::CompareFunction::NotEqual, true, false, true); } @@ -527,30 +539,44 @@ } TEST_P(DepthStencilStateTest, StencilEqual) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); CheckStencilCompareFunction(wgpu::CompareFunction::Equal, false, true, false); } TEST_P(DepthStencilStateTest, StencilGreater) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); CheckStencilCompareFunction(wgpu::CompareFunction::Greater, false, false, true); } TEST_P(DepthStencilStateTest, StencilGreaterEqual) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); CheckStencilCompareFunction(wgpu::CompareFunction::GreaterEqual, false, true, true); } TEST_P(DepthStencilStateTest, StencilLess) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); CheckStencilCompareFunction(wgpu::CompareFunction::Less, true, false, false); } TEST_P(DepthStencilStateTest, StencilLessEqual) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); CheckStencilCompareFunction(wgpu::CompareFunction::LessEqual, true, true, false); } TEST_P(DepthStencilStateTest, StencilNever) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); CheckStencilCompareFunction(wgpu::CompareFunction::Never, false, false, false); } TEST_P(DepthStencilStateTest, StencilNotEqual) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); CheckStencilCompareFunction(wgpu::CompareFunction::NotEqual, true, false, true); } @@ -593,6 +619,8 @@ // Check that the setting a stencil read mask works TEST_P(DepthStencilStateTest, StencilReadMask) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); wgpu::StencilFaceState baseStencilFaceDescriptor; baseStencilFaceDescriptor.compare = wgpu::CompareFunction::Always; baseStencilFaceDescriptor.failOp = wgpu::StencilOperation::Keep; @@ -632,6 +660,8 @@ // Check that setting a stencil write mask works TEST_P(DepthStencilStateTest, StencilWriteMask) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); wgpu::StencilFaceState baseStencilFaceDescriptor; baseStencilFaceDescriptor.compare = wgpu::CompareFunction::Always; baseStencilFaceDescriptor.failOp = wgpu::StencilOperation::Keep; @@ -800,6 +830,8 @@ // Test that the front and back stencil states are set correctly (and take frontFace into account) TEST_P(DepthStencilStateTest, StencilFrontAndBackFace) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); wgpu::DepthStencilState state; state.depthWriteEnabled = wgpu::OptionalBool::False; state.depthCompare = wgpu::CompareFunction::Always; @@ -815,6 +847,8 @@ // Test that the depth reference of a new render pass is initialized to default value 0 TEST_P(DepthStencilStateTest, StencilReferenceInitialized) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); wgpu::DepthStencilState stencilAlwaysReplaceState; stencilAlwaysReplaceState.depthWriteEnabled = wgpu::OptionalBool::False; stencilAlwaysReplaceState.depthCompare = wgpu::CompareFunction::Always;
diff --git a/src/dawn/tests/end2end/DrawIndexedTests.cpp b/src/dawn/tests/end2end/DrawIndexedTests.cpp index 18c1915..d07dc97 100644 --- a/src/dawn/tests/end2end/DrawIndexedTests.cpp +++ b/src/dawn/tests/end2end/DrawIndexedTests.cpp
@@ -172,6 +172,9 @@ TEST_P(DrawIndexedTest, NegativeBaseVertex) { DAWN_TEST_UNSUPPORTED_IF(HasToggleEnabled("disable_base_vertex")); + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); + // TODO(crbug.com/343178421): ANGLE/SwiftShader and ANGLE/D3D11 fail with negative baseVertex. DAWN_SUPPRESS_TEST_IF(IsANGLESwiftShader());
diff --git a/src/dawn/tests/end2end/MaxLimitTests.cpp b/src/dawn/tests/end2end/MaxLimitTests.cpp index 0febd12..c207e81 100644 --- a/src/dawn/tests/end2end/MaxLimitTests.cpp +++ b/src/dawn/tests/end2end/MaxLimitTests.cpp
@@ -721,6 +721,9 @@ // TODO(http://crbug.com/348199037): VUID-RuntimeSpirv-Location-06428 DAWN_SUPPRESS_TEST_IF(IsLinux() && IsVulkan() && IsNvidia()); + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); + // Compute the number of each resource type (storage buffers and storage textures) such that // there is at least one color attachment, and as many of the buffer/textures as possible, // splitting a shared remaining count between the two resources if they are not separately
diff --git a/src/dawn/tests/end2end/MultisampledInterpolationTests.cpp b/src/dawn/tests/end2end/MultisampledInterpolationTests.cpp index da22ccc..9f8bea1 100644 --- a/src/dawn/tests/end2end/MultisampledInterpolationTests.cpp +++ b/src/dawn/tests/end2end/MultisampledInterpolationTests.cpp
@@ -173,6 +173,9 @@ TEST_P(MultisampledInterpolationTest, SamplePositions) { DAWN_TEST_UNSUPPORTED_IF(IsCompatibilityMode()); + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsVulkan()); + // Swiftshader does not work. Unknown reason. DAWN_TEST_UNSUPPORTED_IF(IsSwiftshader()); DAWN_TEST_UNSUPPORTED_IF(IsANGLESwiftShader());
diff --git a/src/dawn/tests/end2end/QueryTests.cpp b/src/dawn/tests/end2end/QueryTests.cpp index 067f1cf..28b412b 100644 --- a/src/dawn/tests/end2end/QueryTests.cpp +++ b/src/dawn/tests/end2end/QueryTests.cpp
@@ -246,6 +246,8 @@ // zero indicates that no sample passed depth/stencil testing, // non-zero indicates that at least one sample passed depth/stencil testing. TEST_P(OcclusionQueryTests, QueryWithDepthStencilTest) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); // TODO(dawn:1870): D3D11_QUERY_OCCLUSION_PREDICATE doesn't work on Intel Gen12. DAWN_SUPPRESS_TEST_IF(IsD3D11() && IsIntelGen12()); @@ -267,6 +269,8 @@ // zero indicates that no sample passed scissor testing, // non-zero indicates that at least one sample passed scissor testing. TEST_P(OcclusionQueryTests, QueryWithScissorTest) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); // TODO(dawn:1870): D3D11_QUERY_OCCLUSION_PREDICATE doesn't work on Intel Gen12. DAWN_SUPPRESS_TEST_IF(IsD3D11() && IsIntelGen12()); @@ -279,6 +283,8 @@ // Test begin occlusion query with same query index on different render pass TEST_P(OcclusionQueryTests, Rewrite) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kQueryCount = 1; wgpu::QuerySet querySet = CreateOcclusionQuerySet(kQueryCount); @@ -317,6 +323,8 @@ // Test resolving occlusion query correctly if the queries are written sparsely, which also tests // the query resetting at the start of render passes on Vulkan backend. TEST_P(OcclusionQueryTests, ResolveSparseQueries) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kQueryCount = 7; wgpu::QuerySet querySet = CreateOcclusionQuerySet(kQueryCount); @@ -542,6 +550,8 @@ // Test resolving occlusion query to the destination buffer with offset TEST_P(OcclusionQueryTests, ResolveToBufferWithOffset) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); // TODO(crbug.com/dawn/2295): diagnose this failure on Pixel 6 OpenGLES DAWN_SUPPRESS_TEST_IF(IsOpenGLES() && IsAndroid() && IsARM());
diff --git a/src/dawn/tests/end2end/QueueTests.cpp b/src/dawn/tests/end2end/QueueTests.cpp index 891da3d..7a68dd2 100644 --- a/src/dawn/tests/end2end/QueueTests.cpp +++ b/src/dawn/tests/end2end/QueueTests.cpp
@@ -634,6 +634,8 @@ // Test with bytesPerRow greater than needed for cube textures. // Made for testing compat behavior. TEST_P(QueueWriteTextureTests, VaryingBytesPerRowCube) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); auto format = GetParam().mTextureFormat; // TODO(crbug.com/dawn/2295): diagnose this failure on Pixel 4 OpenGLES DAWN_SUPPRESS_TEST_IF(IsOpenGLES() && IsAndroid() && IsQualcomm());
diff --git a/src/dawn/tests/end2end/ReadOnlyDepthStencilAttachmentTests.cpp b/src/dawn/tests/end2end/ReadOnlyDepthStencilAttachmentTests.cpp index ee87363..c68df9f 100644 --- a/src/dawn/tests/end2end/ReadOnlyDepthStencilAttachmentTests.cpp +++ b/src/dawn/tests/end2end/ReadOnlyDepthStencilAttachmentTests.cpp
@@ -358,6 +358,8 @@ class ReadOnlyStencilAttachmentTests : public ReadOnlyDepthStencilAttachmentTests {}; TEST_P(ReadOnlyStencilAttachmentTests, SampleFromAttachment) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); // stencilRefValue < stencilValue (stencilInitValue), so stencil test passes. The pipeline // samples from stencil buffer and writes into color buffer. { @@ -386,6 +388,8 @@ } TEST_P(ReadOnlyStencilAttachmentTests, NotSampleFromAttachment) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); // stencilRefValue < stencilValue (stencilInitValue), so stencil test passes. The pipeline // draw solid blue into color buffer. { @@ -423,6 +427,8 @@ // Test that using stencilReadOnly while modifying the depth aspect works. TEST_P(ReadOnlyDepthAndStencilAttachmentTests, ModifyDepthSampleStencil) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); // Stencil test is always true but the depth test passes only for the TestSpec spec1; spec1.readonlyAspects = wgpu::TextureAspect::StencilOnly; @@ -474,6 +480,8 @@ // Test sampling depth with both the depth and stencil readonly. TEST_P(ReadOnlyDepthAndStencilAttachmentTests, BothReadOnlySampleDepth) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); // Sample the depth while using both depth an stencil testing. // First render: depth test passes only for the bottom half, stencil passes. @@ -496,6 +504,8 @@ // Test sampling stencil with both the depth and stencil readonly. TEST_P(ReadOnlyDepthAndStencilAttachmentTests, BothReadOnlySampleStencil) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); // Sample the stencil while using both depth an stencil testing. // First render: depth test passes only for the bottom half, stencil passes.
diff --git a/src/dawn/tests/end2end/StorageTextureTests.cpp b/src/dawn/tests/end2end/StorageTextureTests.cpp index 46b5081..c7b7192 100644 --- a/src/dawn/tests/end2end/StorageTextureTests.cpp +++ b/src/dawn/tests/end2end/StorageTextureTests.cpp
@@ -922,6 +922,8 @@ // Test that write-only storage textures are supported in compute shader. TEST_P(StorageTextureTests, WriteonlyStorageTextureInComputeShader) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); for (wgpu::TextureFormat format : utils::kAllTextureFormats) { if (!utils::TextureFormatSupportsStorageTexture(format, device, IsCompatibilityMode())) { continue; @@ -948,6 +950,8 @@ // Test that write-only storage textures are supported in fragment shader. TEST_P(StorageTextureTests, WriteonlyStorageTextureInFragmentShader) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); // TODO(crbug.com/dawn/2295): diagnose this failure on Pixel 4 OpenGLES DAWN_SUPPRESS_TEST_IF(IsOpenGLES() && IsAndroid() && IsQualcomm()); @@ -986,6 +990,8 @@ // Verify 2D array and 3D write-only storage textures work correctly. TEST_P(StorageTextureTests, Writeonly2DArrayOr3DStorageTexture) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr uint32_t kSliceCount = 3u; constexpr wgpu::TextureFormat kTextureFormat = wgpu::TextureFormat::R32Uint; @@ -1015,6 +1021,8 @@ // Verify 1D write-only storage textures work correctly. TEST_P(StorageTextureTests, Writeonly1DStorageTexture) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr wgpu::TextureFormat kTextureFormat = wgpu::TextureFormat::R32Uint; // Prepare the write-only storage texture. @@ -1035,6 +1043,8 @@ // Test that multiple dispatches to increment values by ping-ponging between a sampled texture and // a write-only storage texture are synchronized in one pass. TEST_P(StorageTextureTests, SampledAndWriteonlyStorageTexturePingPong) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr wgpu::TextureFormat kTextureFormat = wgpu::TextureFormat::R32Uint; wgpu::Texture storageTexture1 = CreateTexture(kTextureFormat, @@ -1229,6 +1239,8 @@ // Verify that the texture is correctly cleared to 0 before its first usage as a write-only storage // storage texture in a render pass. TEST_P(StorageTextureZeroInitTests, WriteonlyStorageTextureClearsToZeroInRenderPass) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); DAWN_TEST_UNSUPPORTED_IF(GetSupportedLimits().maxStorageTexturesInFragmentStage < 1); // Prepare the write-only storage texture. @@ -1246,6 +1258,8 @@ // Verify that the texture is correctly cleared to 0 before its first usage as a write-only storage // texture in a compute pass. TEST_P(StorageTextureZeroInitTests, WriteonlyStorageTextureClearsToZeroInComputePass) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); // Prepare the write-only storage texture. wgpu::Texture writeonlyStorageTexture = CreateTexture( wgpu::TextureFormat::R32Uint, @@ -1339,11 +1353,15 @@ // Verify read-write storage texture can work correctly in compute shaders. TEST_P(ReadWriteStorageTextureTests, ReadWriteStorageTextureInComputeShader) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); RunReadWriteStorageTextureTest(wgpu::TextureFormat::R32Uint); } // Verify read-write storage texture can work correctly in fragment shaders. TEST_P(ReadWriteStorageTextureTests, ReadWriteStorageTextureInFragmentShader) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); DAWN_TEST_UNSUPPORTED_IF(GetSupportedLimits().maxStorageTexturesInFragmentStage < 1); std::array<uint32_t, kWidth * kHeight> inputData; @@ -1412,6 +1430,8 @@ // Verify read-only storage texture can work correctly in compute shaders. TEST_P(ReadWriteStorageTextureTests, ReadOnlyStorageTextureInComputeShader) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr wgpu::TextureFormat kStorageTextureFormat = wgpu::TextureFormat::R32Uint; const std::vector<uint8_t> kInitialTextureData = GetExpectedData(kStorageTextureFormat); wgpu::Texture readonlyStorageTexture = CreateTextureWithTestData( @@ -1464,6 +1484,8 @@ // Verify read-only storage texture can work correctly in vertex shaders. TEST_P(ReadWriteStorageTextureTests, ReadOnlyStorageTextureInVertexShader) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); DAWN_TEST_UNSUPPORTED_IF(GetSupportedLimits().maxStorageTexturesInVertexStage < 1); constexpr wgpu::TextureFormat kStorageTextureFormat = wgpu::TextureFormat::R32Uint; @@ -1512,6 +1534,8 @@ // Verify read-only storage texture can work correctly in fragment shaders. TEST_P(ReadWriteStorageTextureTests, ReadOnlyStorageTextureInFragmentShader) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); DAWN_TEST_UNSUPPORTED_IF(GetSupportedLimits().maxStorageTexturesInFragmentStage < 1); constexpr wgpu::TextureFormat kStorageTextureFormat = wgpu::TextureFormat::R32Uint; @@ -1544,6 +1568,8 @@ // Verify using read-write storage texture access in pipeline layout is compatible with write-only // storage texture access in shader. TEST_P(ReadWriteStorageTextureTests, ReadWriteInPipelineLayoutAndWriteOnlyInShader) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); constexpr wgpu::TextureFormat kStorageTextureFormat = wgpu::TextureFormat::R32Uint; std::array<uint32_t, kWidth * kHeight> expectedData; for (size_t i = 0; i < expectedData.size(); ++i) { @@ -1950,6 +1976,8 @@ // This ensures that we insert a memory fence in between writes and reads to a read-write storage // texture to prevent reordering of memory operations within an invocation. TEST_P(ReadWriteStorageTextureTests, ReadWriteStorageTexture_ReadAfterWriteHazard) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); // The texture dimensions need to be fairly large in order to reliably trigger a failure when // no fence is present. constexpr uint32_t kWidth = 1024;
diff --git a/src/dawn/tests/end2end/TextureFormatTests.cpp b/src/dawn/tests/end2end/TextureFormatTests.cpp index 8717ee7..001e034 100644 --- a/src/dawn/tests/end2end/TextureFormatTests.cpp +++ b/src/dawn/tests/end2end/TextureFormatTests.cpp
@@ -583,11 +583,15 @@ // Test the R16Unorm format TEST_P(TextureFormatTest, R16Unorm) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); DoUnormTest<uint16_t>({wgpu::TextureFormat::R16Unorm, 2, TextureComponentType::Float, 1}); } // Test the RG16Unorm format TEST_P(TextureFormatTest, RG16Unorm) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); DoUnormTest<uint16_t>({wgpu::TextureFormat::RG16Unorm, 4, TextureComponentType::Float, 2}); } @@ -853,7 +857,7 @@ uncompressedData, textureData); } -// Test the RGB10A2Unorm format +// Test the RGB10A2Uint format TEST_P(TextureFormatTest, RGB10A2Uint) { auto MakeRGB10A2 = [](uint32_t r, uint32_t g, uint32_t b, uint32_t a) -> uint32_t { DAWN_ASSERT((r & 0x3FF) == r); @@ -882,6 +886,9 @@ // Test the RGB10A2Unorm format TEST_P(TextureFormatTest, RGB10A2Unorm) { + // TODO(crbug.com/40238674): Fails on Pixel 10 for both vulkan and gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); + auto MakeRGB10A2 = [](uint32_t r, uint32_t g, uint32_t b, uint32_t a) -> uint32_t { DAWN_ASSERT((r & 0x3FF) == r); DAWN_ASSERT((g & 0x3FF) == g);
diff --git a/src/dawn/tests/end2end/TextureZeroInitTests.cpp b/src/dawn/tests/end2end/TextureZeroInitTests.cpp index 9ca585c..df25e4e 100644 --- a/src/dawn/tests/end2end/TextureZeroInitTests.cpp +++ b/src/dawn/tests/end2end/TextureZeroInitTests.cpp
@@ -404,6 +404,8 @@ // This tests CopyBufferToTexture fully overwrites copy so lazy init is not needed. TEST_P(TextureZeroInitTest, CopyBufferToTexture) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); wgpu::TextureDescriptor descriptor = CreateTextureDescriptor(4, 1, wgpu::TextureUsage::CopyDst | wgpu::TextureUsage::TextureBinding | @@ -730,6 +732,8 @@ // Test that clear state is tracked independently for depth/stencil textures. TEST_P(TextureZeroInitTest, IndependentDepthStencilLoadAfterDiscard) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); // TODO(dawn:1549) Fails on Qualcomm-based Android devices. DAWN_SUPPRESS_TEST_IF(IsAndroid() && IsQualcomm());
diff --git a/src/dawn/tests/end2end/VertexOnlyRenderPipelineTests.cpp b/src/dawn/tests/end2end/VertexOnlyRenderPipelineTests.cpp index 3118c4d..ab8d695 100644 --- a/src/dawn/tests/end2end/VertexOnlyRenderPipelineTests.cpp +++ b/src/dawn/tests/end2end/VertexOnlyRenderPipelineTests.cpp
@@ -232,6 +232,8 @@ // Test that a vertex-only render pipeline modify the depth attachment as same as a complete render // pipeline do. TEST_P(VertexOnlyRenderPipelineTest, Depth) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); // TODO(crbug.com/dawn/2295): diagnose this failure on Pixel 4 OpenGLES DAWN_SUPPRESS_TEST_IF(IsOpenGLES() && IsAndroid() && IsQualcomm()); @@ -278,6 +280,9 @@ // draw, and make sure that it correctly use the stencil and depth result set in previous // vertex-only pipelines. TEST_P(VertexOnlyRenderPipelineTest, MultiplePass) { + // TODO(crbug.com/40238674): Fails on Pixel 10 vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && (IsOpenGLES() || IsVulkan())); + wgpu::CommandEncoder encoder = device.CreateCommandEncoder(); ClearAttachment(encoder);
diff --git a/src/dawn/tests/end2end/ViewportTests.cpp b/src/dawn/tests/end2end/ViewportTests.cpp index 4fe955a..c4a54f5 100644 --- a/src/dawn/tests/end2end/ViewportTests.cpp +++ b/src/dawn/tests/end2end/ViewportTests.cpp
@@ -190,6 +190,8 @@ TEST_P(ViewportTest, DefaultViewportDepth) { // TODO(crbug.com/473870505): [Capture] support depth/stencil and multi-planar textures. DAWN_SUPPRESS_TEST_IF(IsCaptureReplayCheckingEnabled()); + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); TestViewportDepth(0.0, 1.0, false); } @@ -198,6 +200,8 @@ TEST_P(ViewportTest, ViewportDepth) { // TODO(crbug.com/473870505): [Capture] support depth/stencil and multi-planar textures. DAWN_SUPPRESS_TEST_IF(IsCaptureReplayCheckingEnabled()); + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); TestViewportDepth(0.0, 0.5); TestViewportDepth(0.5, 1.0);
diff --git a/src/dawn/tests/end2end/YCbCrInfoTests.cpp b/src/dawn/tests/end2end/YCbCrInfoTests.cpp index d3a66c5..6dd124f 100644 --- a/src/dawn/tests/end2end/YCbCrInfoTests.cpp +++ b/src/dawn/tests/end2end/YCbCrInfoTests.cpp
@@ -295,6 +295,9 @@ // TODO(crbug.com/444741058): Fails on Intel-based brya devices running Android Desktop. DAWN_SUPPRESS_TEST_IF(IsVulkan() && IsIntel() && IsAndroid()); + // TODO(crbug.com/40238674): Fails on Pixel 10 vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsVulkan()); + std::vector<wgpu::BindGroupLayoutEntry> entries; wgpu::YCbCrVkDescriptor yCbCrDesc = {}; @@ -433,6 +436,9 @@ // TODO(crbug.com/444741058): Fails on Intel-based brya devices running Android Desktop. DAWN_SUPPRESS_TEST_IF(IsVulkan() && IsIntel() && IsAndroid()); + // TODO(crbug.com/40238674): Fails on Pixel 10 vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsVulkan()); + std::vector<wgpu::BindGroupLayoutEntry> entries; wgpu::BindGroupLayoutEntry& binding0 = entries.emplace_back();
diff --git a/src/dawn/tests/white_box/EGLImageWrappingTests.cpp b/src/dawn/tests/white_box/EGLImageWrappingTests.cpp index 79a2a622..a386ba5 100644 --- a/src/dawn/tests/white_box/EGLImageWrappingTests.cpp +++ b/src/dawn/tests/white_box/EGLImageWrappingTests.cpp
@@ -445,6 +445,8 @@ // Test clearing a R8 EGLImage TEST_P(EGLImageUsageTests, ClearR8EGLImage) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); ScopedEGLImage eglImage = CreateEGLImage(1, 1, GL_R8, GL_RED, GL_UNSIGNED_BYTE, nullptr); uint8_t data = 0x01; @@ -454,6 +456,8 @@ // Test clearing a RG8 EGLImage TEST_P(EGLImageUsageTests, ClearRG8EGLImage) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); ScopedEGLImage eglImage = CreateEGLImage(1, 1, GL_RG8, GL_RG, GL_UNSIGNED_BYTE, nullptr); uint16_t data = 0x0201; @@ -463,6 +467,8 @@ // Test clearing an RGBA8 EGLImage TEST_P(EGLImageUsageTests, ClearRGBA8EGLImage) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); ScopedEGLImage eglImage = CreateEGLImage(1, 1, GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE, nullptr); uint32_t data = 0x04030201; @@ -472,6 +478,8 @@ // Test sampling an imported R8 GL texture TEST_P(EGLImageUsageTests, SampleR8EGLImage) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); uint8_t data[2] = {0x42, 0x42}; ScopedEGLImage eglImage = CreateEGLImage(2, 1, GL_R8, GL_RED, GL_UNSIGNED_BYTE, data); @@ -480,6 +488,8 @@ // Test sampling an imported RG8 GL texture TEST_P(EGLImageUsageTests, SampleRG8EGLImage) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); uint16_t data[2] = {0x4221, 0x4221}; ScopedEGLImage eglImage = CreateEGLImage(2, 1, GL_RG8, GL_RG, GL_UNSIGNED_BYTE, data); @@ -488,6 +498,8 @@ // Test sampling an imported RGBA8 GL texture TEST_P(EGLImageUsageTests, SampleRGBA8EGLImage) { + // TODO(crbug.com/40238674): Fails on Pixel 10 gles. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsOpenGLES()); uint32_t data[2] = {0x48844221, 0x48844221}; ScopedEGLImage eglImage = CreateEGLImage(2, 1, GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE, data);
diff --git a/src/dawn/tests/white_box/SharedTextureMemoryTests_android.cpp b/src/dawn/tests/white_box/SharedTextureMemoryTests_android.cpp index 5762a4a..fd074d5 100644 --- a/src/dawn/tests/white_box/SharedTextureMemoryTests_android.cpp +++ b/src/dawn/tests/white_box/SharedTextureMemoryTests_android.cpp
@@ -381,6 +381,8 @@ TEST_P(SharedTextureMemoryTests, InvalidSharedTextureMemoryAHardwareBufferProperties) { DAWN_TEST_UNSUPPORTED_IF(!SupportsFeatures({wgpu::FeatureName::YCbCrVulkanSamplers})); + // TODO(crbug.com/40238674): Fails on Pixel 10 vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsVulkan()); // TODO(crbug.com/444741058): Fails on Intel-based brya devices running Android Desktop. DAWN_SUPPRESS_TEST_IF(IsVulkan() && IsIntel() && IsAndroid()); @@ -415,6 +417,9 @@ // Test querying YCbCr info from the Device. TEST_P(SharedTextureMemoryTests, QueryYCbCrInfoFromDevice) { + // TODO(crbug.com/40238674): Fails on Pixel 10 vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsVulkan()); + DAWN_TEST_UNSUPPORTED_IF(!SupportsFeatures({wgpu::FeatureName::YCbCrVulkanSamplers})); // TODO(crbug.com/444741058): Fails on Intel-based brya devices running Android Desktop. @@ -481,6 +486,9 @@ // Test querying YCbCr info from the SharedTextureMemory without external format. TEST_P(SharedTextureMemoryTests, QueryYCbCrInfoWithoutExternalFormat) { + // TODO(crbug.com/40238674): Fails on Pixel 10 vulkan. + DAWN_SUPPRESS_TEST_IF(IsImgTec() && IsVulkan()); + DAWN_TEST_UNSUPPORTED_IF(!SupportsFeatures({wgpu::FeatureName::YCbCrVulkanSamplers})); // TODO(crbug.com/444741058): Fails on Intel-based brya devices running Android Desktop.