From: Ian Romanick <[email protected]>

The test requires GLSL 1.40, which can only be exposed on OpenGL 3.1 or
later.  Pretending that the test can run on anything less is just silly.
If the test requires 3.1, just dump compatibility profile support.

Signed-off-by: Ian Romanick <[email protected]>
---
 tests/spec/arb_direct_state_access/texture-buffer.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/tests/spec/arb_direct_state_access/texture-buffer.c 
b/tests/spec/arb_direct_state_access/texture-buffer.c
index a82f279..1caed8e 100644
--- a/tests/spec/arb_direct_state_access/texture-buffer.c
+++ b/tests/spec/arb_direct_state_access/texture-buffer.c
@@ -33,7 +33,6 @@
 #include "piglit-util-gl.h"
 
 PIGLIT_GL_TEST_CONFIG_BEGIN
-       config.supports_gl_compat_version = 10;
        config.supports_gl_core_version = 31;
 
        config.window_visual = PIGLIT_GL_VISUAL_DOUBLE |
@@ -97,9 +96,6 @@ void
 piglit_init(int argc, char **argv)
 {
        piglit_require_extension("GL_ARB_direct_state_access");
-       piglit_require_GLSL_version(140);
-       if (piglit_get_gl_version() < 31)
-               piglit_require_extension("GL_ARB_texture_buffer_object");
 
        prog = piglit_build_simple_program(vs_source, fs_source);
        glUseProgram(prog);
-- 
2.1.0

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to