[Piglit] [PATCH] genmipmap-errors: require GL 3.0, fix incorrect extension check

Brian Paul brianp at vmware.com
Tue Nov 19 11:20:04 PST 2013


On 11/19/2013 11:54 AM, Eric Anholt wrote:
> Brian Paul <brianp at vmware.com> writes:
>
>> 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.
>
> Or just change it to GL_ARB_depth_buffer_float?  It seems nice that we
> get this error coverage for non-gl3.
>

Then the other thing we need to do is add an extension check for 
GL_DEPTH24_STENCIL8 (part of GL_EXT_packed_depth_stencil and added in GL 
3.0)

I'll make a new patch.

-Brian



More information about the Piglit mailing list