Reviewed-by: Ilia Mirkin <[email protected]>
On Thu, Apr 26, 2018 at 1:17 PM, Eric Anholt <[email protected]> wrote: > The 2101010 spec says to remove BGRA references if this extension > isn't present, so don't test them. > --- > tests/spec/arb_vertex_type_2_10_10_10_rev/array_types.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/tests/spec/arb_vertex_type_2_10_10_10_rev/array_types.c > b/tests/spec/arb_vertex_type_2_10_10_10_rev/array_types.c > index 4c7b199fa22c..e08c79bfc1ff 100644 > --- a/tests/spec/arb_vertex_type_2_10_10_10_rev/array_types.c > +++ b/tests/spec/arb_vertex_type_2_10_10_10_rev/array_types.c > @@ -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 */ > -- > 2.17.0 > > _______________________________________________ > Piglit mailing list > [email protected] > https://lists.freedesktop.org/mailman/listinfo/piglit _______________________________________________ Piglit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/piglit
