[Piglit] [PATCH] genmipmap-errors: fix/add extension checks

Brian Paul brianp at vmware.com
Tue Nov 19 11:23:55 PST 2013


GL_DEPTH24_STENCIL8 is defined by GL_EXT_packed_depth_stencil.
GL_DEPTH32F_STENCIL8 is from GL_ARB_depth_buffer_float, 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..aa5eb09 100644
--- a/tests/spec/gl-3.0/api/genmipmap-errors.c
+++ b/tests/spec/gl-3.0/api/genmipmap-errors.c
@@ -102,9 +102,9 @@ test_genmipmap_errors(void)
 
 		/* Packed depth / stencil formats */
 		{ GL_DEPTH24_STENCIL8, GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8,
-		{NULL, NULL} },
+		{"GL_EXT_packed_depth_stencil", NULL} },
 		{ GL_DEPTH32F_STENCIL8, GL_DEPTH_STENCIL, GL_FLOAT_32_UNSIGNED_INT_24_8_REV,
-		{"GL_ARB_texture_float", NULL} }
+		{"GL_ARB_depth_buffer_float", NULL} }
 	};
 	int i, j;
 	bool pass = true;
-- 
1.7.10.4



More information about the Piglit mailing list