[Piglit] [PATCH 02/14] arb_direct_state_access: Port gettextureimage-targets to core profile
Ian Romanick
idr at freedesktop.org
Wed Sep 9 13:20:55 PDT 2015
From: Ian Romanick <ian.d.romanick at intel.com>
The "supports_gl_compat_version = 10" was rubbish anyway because DSA
requires OpenGL 2.0.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
tests/spec/arb_direct_state_access/gettextureimage-targets.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/tests/spec/arb_direct_state_access/gettextureimage-targets.c b/tests/spec/arb_direct_state_access/gettextureimage-targets.c
index 01ccad4..9fbe3c8 100644
--- a/tests/spec/arb_direct_state_access/gettextureimage-targets.c
+++ b/tests/spec/arb_direct_state_access/gettextureimage-targets.c
@@ -30,7 +30,7 @@
PIGLIT_GL_TEST_CONFIG_BEGIN
- config.supports_gl_compat_version = 10;
+ config.supports_gl_compat_version = 20;
config.supports_gl_core_version = 31;
config.window_visual = PIGLIT_GL_VISUAL_RGBA |
@@ -256,12 +256,8 @@ piglit_init(int argc, char **argv)
piglit_require_extension("GL_ARB_direct_state_access");
piglit_require_extension("GL_ARB_texture_storage");
- if (piglit_get_gl_version() < 12)
- clear_target_mask(GL_TEXTURE_3D);
if (!piglit_is_extension_supported("GL_ARB_texture_rectangle"))
clear_target_mask(GL_TEXTURE_RECTANGLE);
- if (!piglit_is_extension_supported("GL_ARB_texture_cube_map"))
- clear_target_mask(GL_TEXTURE_CUBE_MAP);
if (!piglit_is_extension_supported("GL_EXT_texture_array")) {
clear_target_mask(GL_TEXTURE_1D_ARRAY);
clear_target_mask(GL_TEXTURE_2D_ARRAY);
--
2.1.0
More information about the Piglit
mailing list