[Piglit] [PATCH] geometry-end-primitive-optional-with-points-out: Require GLSL 1.50.

Vinson Lee vlee at freedesktop.org
Tue Oct 8 20:56:25 CEST 2013


Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
 .../geometry/geometry-end-primitive-optional-with-points-out.c          | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/spec/glsl-1.50/execution/geometry/geometry-end-primitive-optional-with-points-out.c b/tests/spec/glsl-1.50/execution/geometry/geometry-end-primitive-optional-with-points-out.c
index d6c4b44..13fb7eb 100644
--- a/tests/spec/glsl-1.50/execution/geometry/geometry-end-primitive-optional-with-points-out.c
+++ b/tests/spec/glsl-1.50/execution/geometry/geometry-end-primitive-optional-with-points-out.c
@@ -93,6 +93,8 @@ piglit_init(int argc, char **argv)
 	GLuint vs = 0, gs = 0, fs = 0;
 	GLuint vertIndex;
 
+	piglit_require_GLSL_version(150);
+
 	prog = glCreateProgram();
 	vs = piglit_compile_shader_text(GL_VERTEX_SHADER, vstext);
 	gs = piglit_compile_shader_text(GL_GEOMETRY_SHADER, gstext);
-- 
1.8.1.2



More information about the Piglit mailing list