Supress Mac OpenGL AMD angle_end2end_test failures.
BUG=angleproject:1291
Change-Id: I7fe6a6203c71c893dad97d6e9bc8272164d44f58
Reviewed-on: https://chromium-review.googlesource.com/323790
Tryjob-Request: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
diff --git a/src/tests/gl_tests/GLSLTest.cpp b/src/tests/gl_tests/GLSLTest.cpp
index 40d685f..7776f40 100644
--- a/src/tests/gl_tests/GLSLTest.cpp
+++ b/src/tests/gl_tests/GLSLTest.cpp
@@ -809,6 +809,16 @@
TEST_P(GLSLTest, MaxVaryingVec4)
{
+#if defined(__APPLE__)
+ // TODO(geofflang): Find out why this doesn't compile on Apple AND OpenGL drivers
+ // (http://anglebug.com/1291)
+ if (isAMD() && getPlatformRenderer() == EGL_PLATFORM_ANGLE_TYPE_OPENGL_ANGLE)
+ {
+ std::cout << "Test disabled on Apple AMD OpenGL." << std::endl;
+ return;
+ }
+#endif
+
GLint maxVaryings = 0;
glGetIntegerv(GL_MAX_VARYING_VECTORS, &maxVaryings);
@@ -926,6 +936,16 @@
return;
}
+#if defined(__APPLE__)
+ // TODO(geofflang): Find out why this doesn't compile on Apple AND OpenGL drivers
+ // (http://anglebug.com/1291)
+ if (isAMD() && getPlatformRenderer() == EGL_PLATFORM_ANGLE_TYPE_OPENGL_ANGLE)
+ {
+ std::cout << "Test disabled on Apple AMD OpenGL." << std::endl;
+ return;
+ }
+#endif
+
GLint maxVaryings = 0;
glGetIntegerv(GL_MAX_VARYING_VECTORS, &maxVaryings);
@@ -948,6 +968,16 @@
return;
}
+#if defined(__APPLE__)
+ // TODO(geofflang): Find out why this doesn't compile on Apple AND OpenGL drivers
+ // (http://anglebug.com/1291)
+ if (isAMD() && getPlatformRenderer() == EGL_PLATFORM_ANGLE_TYPE_OPENGL_ANGLE)
+ {
+ std::cout << "Test disabled on Apple AMD OpenGL." << std::endl;
+ return;
+ }
+#endif
+
GLint maxVaryings = 0;
glGetIntegerv(GL_MAX_VARYING_VECTORS, &maxVaryings);