Suppress MipmapTestES3.BaseLevelTextureBug failures on 10.12.4.
BUG=705865
Change-Id: Ife59aaf009365a51b5362a00373d1efaceba9fb8
Reviewed-on: https://chromium-review.googlesource.com/490946
Commit-Queue: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
diff --git a/src/tests/gl_tests/MipmapTest.cpp b/src/tests/gl_tests/MipmapTest.cpp
index 02800b0..8487875 100644
--- a/src/tests/gl_tests/MipmapTest.cpp
+++ b/src/tests/gl_tests/MipmapTest.cpp
@@ -1162,6 +1162,17 @@
return;
}
+#if defined(ANGLE_PLATFORM_APPLE)
+ // Regression in 10.12.4 needing workaround -- crbug.com/705865.
+ // Seems to be passing on AMD GPUs. Definitely not NVIDIA.
+ // Probably not Intel.
+ if (IsNVIDIA() || IsIntel())
+ {
+ std::cout << "Test skipped on macOS with NVIDIA and Intel GPUs." << std::endl;
+ return;
+ }
+#endif
+
glBindTexture(GL_TEXTURE_2D, mTexture);
glTexImage2D(GL_TEXTURE_2D, 2, GL_RGBA, 2, 2, 0, GL_RGBA, GL_UNSIGNED_BYTE, &GLColor::red);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_BASE_LEVEL, 2);