[Piglit] [PATCH] GS: Modify an older test to also check MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS with GL version 3.2
Nicholas Mack
nichmack at gmail.com
Mon Sep 9 17:09:31 PDT 2013
---
tests/spec/arb_uniform_buffer_object/minmax.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/spec/arb_uniform_buffer_object/minmax.c b/tests/spec/arb_uniform_buffer_object/minmax.c
index ade70dc..62e029e 100644
--- a/tests/spec/arb_uniform_buffer_object/minmax.c
+++ b/tests/spec/arb_uniform_buffer_object/minmax.c
@@ -53,7 +53,7 @@ piglit_init(int argc, char **argv)
int guniforms = 0, gblocks = 0;
int funiforms = 0, fblocks = 0;
int blocksize = 0;
- bool gs = piglit_is_extension_supported("GL_ARB_geometry_shader4");
+ bool gs = (piglit_get_gl_version() >= 32) || piglit_is_extension_supported("GL_ARB_geometry_shader4");
piglit_require_extension("GL_ARB_uniform_buffer_object");
--
1.8.3.1
More information about the Piglit
mailing list