From 966b3092e8c0dcf72e813abd5b5f9b6e017fdc95 Mon Sep 17 00:00:00 2001 From: Brandon Jones Date: Fri, 9 Jul 2021 22:30:19 +0000 Subject: [PATCH] Suppress tests failing on Linux Intel OpenGL Change-Id: I735d88c3f98876852bfe8a3480efb7f64a90f747 Bug: dawn:976 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/57600 Auto-Submit: Brandon Jones Reviewed-by: James Price Commit-Queue: Brandon Jones --- src/tests/end2end/CompressedTextureFormatTests.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/tests/end2end/CompressedTextureFormatTests.cpp b/src/tests/end2end/CompressedTextureFormatTests.cpp index cfe12d0a56..fb129bc463 100644 --- a/src/tests/end2end/CompressedTextureFormatTests.cpp +++ b/src/tests/end2end/CompressedTextureFormatTests.cpp @@ -448,6 +448,9 @@ TEST_P(CompressedTextureBCFormatTest, Basic) { // Test copying into a sub-region of a texture with BC formats works correctly. TEST_P(CompressedTextureBCFormatTest, CopyIntoSubRegion) { + // TODO(crbug.com/dawn/976): Failing on Linux Intel OpenGL drivers. + DAWN_SUPPRESS_TEST_IF(IsIntel() && IsOpenGL() && IsLinux()); + DAWN_TEST_UNSUPPORTED_IF(!IsBCFormatSupported()); CopyConfig config; @@ -1164,6 +1167,9 @@ class CompressedTextureWriteTextureTest : public CompressedTextureBCFormatTest { // Test WriteTexture to a 2D texture with all parameters non-default // with BC formats. TEST_P(CompressedTextureWriteTextureTest, Basic) { + // TODO(crbug.com/dawn/976): Failing on Linux Intel OpenGL drivers. + DAWN_SUPPRESS_TEST_IF(IsIntel() && IsOpenGL() && IsLinux()); + CopyConfig config; config.textureDescriptor.usage = kDefaultBCFormatTextureUsage; config.textureDescriptor.size = {20, 24, 1}; @@ -1181,6 +1187,9 @@ TEST_P(CompressedTextureWriteTextureTest, Basic) { // Test writing to multiple 2D texture array layers with BC formats. TEST_P(CompressedTextureWriteTextureTest, WriteMultiple2DArrayLayers) { + // TODO(crbug.com/dawn/976): Failing on Linux Intel OpenGL drivers. + DAWN_SUPPRESS_TEST_IF(IsIntel() && IsOpenGL() && IsLinux()); + // TODO(crbug.com/dawn/593): This test uses glTextureView() which is not supported on OpenGL ES. DAWN_TEST_UNSUPPORTED_IF(IsOpenGLES()); @@ -1203,6 +1212,9 @@ TEST_P(CompressedTextureWriteTextureTest, WriteMultiple2DArrayLayers) { // subresource is different from its virtual size. TEST_P(CompressedTextureWriteTextureTest, WriteIntoSubresourceWithPhysicalSizeNotEqualToVirtualSize) { + // TODO(crbug.com/dawn/976): Failing on Linux Intel OpenGL drivers. + DAWN_SUPPRESS_TEST_IF(IsIntel() && IsOpenGL() && IsLinux()); + // TODO(crbug.com/dawn/593): This test uses glTextureView() which is not supported on OpenGL ES. DAWN_TEST_UNSUPPORTED_IF(IsOpenGLES());