Commit 53440f39 by Yuly Novikov Committed by Commit Bot

Skip couple TextureRectangleTest tests on Linux NVIDIA OpenGL

TextureRectangleTest.TexStorage2D and TextureRectangleTest.TexImage2D failed on NVIDIA Quadro P400. BUG=angleproject:2122 TBR=cwallez@chromium.org Change-Id: I72d1755881cb06ef4363266b368ada5ca954f6dd Reviewed-on: https://chromium-review.googlesource.com/601348Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org> Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
parent 13c0dd46
...@@ -52,6 +52,13 @@ TEST_P(TextureRectangleTest, TexImage2D) ...@@ -52,6 +52,13 @@ TEST_P(TextureRectangleTest, TexImage2D)
{ {
ANGLE_SKIP_TEST_IF(!checkExtensionSupported()); ANGLE_SKIP_TEST_IF(!checkExtensionSupported());
if (IsLinux() && IsNVIDIA() && IsDesktopOpenGL())
{
// TODO(cwallez): Investigate the failure (http://anglebug.com/2122)
std::cout << "Test disabled on Linux NVIDIA OpenGL." << std::endl;
return;
}
GLTexture tex; GLTexture tex;
glBindTexture(GL_TEXTURE_RECTANGLE_ANGLE, tex); glBindTexture(GL_TEXTURE_RECTANGLE_ANGLE, tex);
...@@ -115,6 +122,13 @@ TEST_P(TextureRectangleTest, TexStorage2D) ...@@ -115,6 +122,13 @@ TEST_P(TextureRectangleTest, TexStorage2D)
ANGLE_SKIP_TEST_IF(!checkExtensionSupported()); ANGLE_SKIP_TEST_IF(!checkExtensionSupported());
ANGLE_SKIP_TEST_IF(getClientMajorVersion() < 3 && !extensionEnabled("GL_EXT_texture_storage")); ANGLE_SKIP_TEST_IF(getClientMajorVersion() < 3 && !extensionEnabled("GL_EXT_texture_storage"));
if (IsLinux() && IsNVIDIA() && IsDesktopOpenGL())
{
// TODO(cwallez): Investigate the failure (http://anglebug.com/2122)
std::cout << "Test disabled on Linux NVIDIA OpenGL." << std::endl;
return;
}
bool useES3 = getClientMajorVersion() >= 3; bool useES3 = getClientMajorVersion() >= 3;
auto TexStorage2D = [useES3](GLenum target, GLint levels, GLenum format, GLint width, auto TexStorage2D = [useES3](GLenum target, GLint levels, GLenum format, GLint width,
GLint height) { GLint height) {
......
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