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

Eric Anholt eric at anholt.net
Tue Nov 19 12:20:33 PST 2013


Brian Paul <brianp at vmware.com> writes:

> 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} }

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20131119/058a5dcc/attachment.pgp>


More information about the Piglit mailing list