Skip SamplerInStruct AsFunctionParameter tests on Adreno Android GLES
Due to Adreno bug in compiling struct function parameter in shader.
BUG=angleproject:1427
TEST=SamplerInStructAsFunctionParameterTest
SamplerInStructArrayAsFunctionParameterTest
SamplerInNestedStructAsFunctionParameterTest
Change-Id: I979312885f2047e78b61530c97703854a4be1586
Reviewed-on: https://chromium-review.googlesource.com/356125
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
diff --git a/src/tests/gl_tests/TextureTest.cpp b/src/tests/gl_tests/TextureTest.cpp
index cd4f100..5211bf2 100644
--- a/src/tests/gl_tests/TextureTest.cpp
+++ b/src/tests/gl_tests/TextureTest.cpp
@@ -2756,6 +2756,12 @@
// Use a sampler in a uniform struct that's passed as a function parameter.
TEST_P(SamplerInStructAsFunctionParameterTest, SamplerInStructAsFunctionParameter)
{
+ // TODO(ynovikov): re-enable once root cause of http://anglebug.com/1427 is fixed
+ if (IsAndroid() && IsAdreno() && IsOpenGLES())
+ {
+ std::cout << "Test skipped on Adreno OpenGLES on Android." << std::endl;
+ return;
+ }
runSamplerInStructTest();
}
@@ -2768,6 +2774,12 @@
std::cout << "Test skipped on Intel OpenGL." << std::endl;
return;
}
+ // TODO(ynovikov): re-enable once root cause of http://anglebug.com/1427 is fixed
+ if (IsAndroid() && IsAdreno() && IsOpenGLES())
+ {
+ std::cout << "Test skipped on Adreno OpenGLES on Android." << std::endl;
+ return;
+ }
runSamplerInStructTest();
}
@@ -2780,6 +2792,12 @@
std::cout << "Test skipped on Intel OpenGL." << std::endl;
return;
}
+ // TODO(ynovikov): re-enable once root cause of http://anglebug.com/1427 is fixed
+ if (IsAndroid() && IsAdreno() && IsOpenGLES())
+ {
+ std::cout << "Test skipped on Adreno OpenGLES on Android." << std::endl;
+ return;
+ }
runSamplerInStructTest();
}