Commit 0f2ef7f9 by Corentin Wallez

Suppress and end2end failure caused by a Mesa bug

BUG=610800 Change-Id: I4ee6ba589afc98277c3cf50b8f57afb184b11216 Reviewed-on: https://chromium-review.googlesource.com/343994Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
parent 2b4ce80c
......@@ -2132,13 +2132,20 @@ TEST_P(Texture2DTestES3, ImmutableTextureBaseLevelOutOfRange)
std::cout << "Test skipped on OSX." << std::endl;
return;
}
if (IsAMD() && getPlatformRenderer() == EGL_PLATFORM_ANGLE_TYPE_OPENGL_ANGLE)
if (IsAMD() && isOpenGL())
{
// Observed incorrect rendering on AMD OpenGL.
std::cout << "Test skipped on AMD OpenGL." << std::endl;
return;
}
if (IsLinux() && IsIntel() && isOpenGL())
{
// The Mesa Intel driver doesn't clamp the base level
std::cout << "Test skipped on Intel Linux OpenGL." << std::endl;
return;
}
glActiveTexture(GL_TEXTURE0);
glBindTexture(GL_TEXTURE_2D, mTexture2D);
......
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