[Piglit] [PATCH 23/25] arb_direct_state_access: Don't pretend that texture-buffer can run on less than 3.1
Ian Romanick
idr at freedesktop.org
Mon May 18 13:50:16 PDT 2015
From: Ian Romanick <ian.d.romanick at intel.com>
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 <ian.d.romanick at intel.com>
---
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
More information about the Piglit
mailing list