From: Ian Romanick <ian.d.roman...@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.roman...@intel.com>
Cc: Kenneth Graunke <kenn...@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

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to