Commit bb38b2c7 authored by Eric Anholt's avatar Eric Anholt

arb_vertex_type_2_10_10_10: Don't test BGRA if we don't have the ext.

The 2101010 spec says to remove BGRA references if this extension
isn't present, so don't test them.
Reviewed-by: Ilia Mirkin's avatarIlia Mirkin <imirkin@alum.mit.edu>
parent cc80b756
......@@ -160,6 +160,10 @@ test(int x1, int y1, int x2, int y2, const struct test_info *test)
GLuint v[3], c[3];
bool pass;
if (test->size == GL_BGRA &&
!piglit_is_extension_supported("GL_EXT_vertex_array_bgra"))
return true;
printf("testing: %s\n", test->name);
/* vertex positions */
......
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