[Piglit] [PATCH] multi-draw-elements-base-vertex: Require GLSL 1.30.

Vinson Lee vlee at freedesktop.org
Mon Nov 11 16:16:17 PST 2013


Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
 .../arb_draw_elements_base_vertex/multi-draw-elements-base-vertex.c     | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/spec/arb_draw_elements_base_vertex/multi-draw-elements-base-vertex.c b/tests/spec/arb_draw_elements_base_vertex/multi-draw-elements-base-vertex.c
index 8fdd666..0314ee2 100644
--- a/tests/spec/arb_draw_elements_base_vertex/multi-draw-elements-base-vertex.c
+++ b/tests/spec/arb_draw_elements_base_vertex/multi-draw-elements-base-vertex.c
@@ -120,6 +120,8 @@ piglit_init(int argc, char **argv)
 	GLuint program;
 	GLuint vertex_index;
 
+	piglit_require_GLSL_version(130);
+
 	if (piglit_get_gl_version() < 32) {
 		piglit_require_extension("GL_ARB_draw_elements_base_vertex");
 	}
-- 
1.8.3.2



More information about the Piglit mailing list