Commit e7a792c6 by Kenneth Russell Committed by Commit Bot

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: 's avatarGeoff Lang <geofflang@chromium.org>
parent 180973c7
...@@ -1162,6 +1162,17 @@ TEST_P(MipmapTestES3, BaseLevelTextureBug) ...@@ -1162,6 +1162,17 @@ TEST_P(MipmapTestES3, BaseLevelTextureBug)
return; 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); glBindTexture(GL_TEXTURE_2D, mTexture);
glTexImage2D(GL_TEXTURE_2D, 2, GL_RGBA, 2, 2, 0, GL_RGBA, GL_UNSIGNED_BYTE, &GLColor::red); 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); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_BASE_LEVEL, 2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment