Commit c1f8d61a by Yuly Novikov Committed by Commit Bot

Disable VertexAttributeTestES31.MaxVertexAttribStride on Linux AMD GL

Due to AMD driver bug. BUG=angleproject:1593 Change-Id: Ic1fee717ffb55c67d3c4d0a43848d73ed6794732 Reviewed-on: https://chromium-review.googlesource.com/452940Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org> Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
parent 7a0b3044
...@@ -677,6 +677,15 @@ class VertexAttributeTestES31 : public VertexAttributeTestES3 ...@@ -677,6 +677,15 @@ class VertexAttributeTestES31 : public VertexAttributeTestES3
// Verify that MAX_VERTEX_ATTRIB_STRIDE is no less than the minimum required value (2048) in ES3.1. // Verify that MAX_VERTEX_ATTRIB_STRIDE is no less than the minimum required value (2048) in ES3.1.
TEST_P(VertexAttributeTestES31, MaxVertexAttribStride) TEST_P(VertexAttributeTestES31, MaxVertexAttribStride)
{ {
// TODO(ynovikov): AMD Linux GL 4.4.13374 on R5 230 and 4.5.13399 on R7 240
// return 0 for GL_MAX_VERTEX_ATTRIB_STRIDE, not conforming to spec.
// Reenable if AMD fixes their drivers.
if (IsDesktopOpenGL() && IsLinux() && IsAMD())
{
std::cout << "Test disabled on Linux AMD OpenGL." << std::endl;
return;
}
GLint maxStride; GLint maxStride;
glGetIntegerv(GL_MAX_VERTEX_ATTRIB_STRIDE, &maxStride); glGetIntegerv(GL_MAX_VERTEX_ATTRIB_STRIDE, &maxStride);
ASSERT_GL_NO_ERROR(); ASSERT_GL_NO_ERROR();
......
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