[Piglit] [PATCH 3/3] GL 3.2: Add test for minimum value of MAJOR_VERSION

Nicholas Mack nichmack at gmail.com
Tue Aug 6 10:29:37 PDT 2013


---
 tests/spec/gl-3.2/minmax.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/spec/gl-3.2/minmax.c b/tests/spec/gl-3.2/minmax.c
index 149a013..e4d135d 100644
--- a/tests/spec/gl-3.2/minmax.c
+++ b/tests/spec/gl-3.2/minmax.c
@@ -84,6 +84,8 @@ piglit_init(int argc, char **argv)
 	piglit_test_tf_bits(GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN);
 	piglit_test_oq_bits();
 
+	piglit_test_min_int(GL_MAJOR_VERSION, 3);
+
 	piglit_test_min_int(GL_MAX_VERTEX_ATTRIBS, 16);
 	piglit_test_min_int(GL_MAX_VERTEX_UNIFORM_COMPONENTS, 1024);
 	piglit_test_min_int(GL_MAX_VERTEX_UNIFORM_BLOCKS, 12);
-- 
1.8.3.1



More information about the Piglit mailing list