[Piglit] [PATCH] genmipmap-errors: require GL 3.0, fix incorrect extension check
Brian Paul
brianp at vmware.com
Mon Nov 18 16:39:40 PST 2013
Since the test is in the spec/gl-3.0/ directory, we should probably
require GL 3.0 or later.
The check for GL_ARB_texture_float for GL_DEPTH32F_STENCIL8 was
incorrect. The format is part of GL 3.0, not GL_ARB_texture_float.
---
tests/spec/gl-3.0/api/genmipmap-errors.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/spec/gl-3.0/api/genmipmap-errors.c b/tests/spec/gl-3.0/api/genmipmap-errors.c
index 6ac3f12..50b6d8f 100644
--- a/tests/spec/gl-3.0/api/genmipmap-errors.c
+++ b/tests/spec/gl-3.0/api/genmipmap-errors.c
@@ -31,7 +31,7 @@
PIGLIT_GL_TEST_CONFIG_BEGIN
- config.supports_gl_compat_version = 10;
+ config.supports_gl_compat_version = 30;
config.window_visual = PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DOUBLE;
PIGLIT_GL_TEST_CONFIG_END
@@ -104,7 +104,7 @@ test_genmipmap_errors(void)
{ GL_DEPTH24_STENCIL8, GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8,
{NULL, NULL} },
{ GL_DEPTH32F_STENCIL8, GL_DEPTH_STENCIL, GL_FLOAT_32_UNSIGNED_INT_24_8_REV,
- {"GL_ARB_texture_float", NULL} }
+ {NULL, NULL} }
};
int i, j;
bool pass = true;
--
1.7.10.4
More information about the Piglit
mailing list