[Piglit] [PATCH 1/2] arb_stencil_texturing: Fix GL version requirements

Ian Romanick idr at freedesktop.org
Wed Jan 13 01:08:15 PST 2016


From: Ian Romanick <ian.d.romanick at intel.com>

Realistically, the test needs OpenGL 3.0 because it requires GLSL 1.30.
I doubt there will ever be a driver that can do GL_ARB_stencil_texturing
that doesn't also support OpenGL 3.0.

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Cc: Kenneth Graunke <kenneth at whitecape.org>
---
 tests/spec/arb_stencil_texturing/draw.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/spec/arb_stencil_texturing/draw.c b/tests/spec/arb_stencil_texturing/draw.c
index 184c105..fa6ea42 100644
--- a/tests/spec/arb_stencil_texturing/draw.c
+++ b/tests/spec/arb_stencil_texturing/draw.c
@@ -52,7 +52,7 @@
 
 PIGLIT_GL_TEST_CONFIG_BEGIN
 
-	config.supports_gl_compat_version = 20;
+	config.supports_gl_compat_version = 30;
 	config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE;
 	config.window_width = 256 * 2 + 3;
 	config.window_height = 256 * 2 + 3;
@@ -271,7 +271,6 @@ void
 piglit_init(int argc, char **argv)
 {
 	piglit_require_extension("GL_ARB_stencil_texturing");
-	piglit_require_GLSL_version(130); /* for usampler2D */
 
 	setup_textures();
 	setup_shaders();
-- 
2.5.0



More information about the Piglit mailing list