[Piglit] [PATCH 1/3] arb_internalformat_query: Add initial API error test for this extension

Ian Romanick idr at freedesktop.org
Tue Dec 11 18:09:49 PST 2012


On 12/11/2012 04:03 PM, Eric Anholt wrote:
> Ian Romanick <idr at freedesktop.org> writes:
>
>> From: Ian Romanick <ian.d.romanick at intel.com>
>>
>> This test passes on NVIDIA's closed-source driver (version 304.64 on
>> GTX 260).  This driver supports GL_ARB_texture_multisample, but it
>> does not support GL_ARB_internalformat_query2.
>>
>> This test fails on AMD's closed-source driver (Catalyst 12.6 on HD
>> 3650).  It appears that none of the queries of
>> GL_ARB_internalformat_query2 enums generate errors even though that
>> extension is not supported.  This driver supports
>> GL_ARB_texture_multisample, but it does not support
>> GL_ARB_internalformat_query2.
>
>> +	GL_RED_SNORM,
>> +	GL_RG_SNORM,
>> +	GL_RGB_SNORM,
>> +	GL_RGBA_SNORM,
>> +	GL_R8_SNORM,
>> +	GL_RG8_SNORM,
>> +	GL_RGB8_SNORM,
>> +	GL_RGBA8_SNORM,
>> +	GL_R16_SNORM,
>> +	GL_RG16_SNORM,
>> +	GL_RGB16_SNORM,
>> +	GL_RGBA16_SNORM,
>
> I thought these had a color-renderable base internal format and were
> thus color-renderable (unlike L/LA/I formats)
>
> Other than that, looks good to me.

I believe this is now an open issue. :(  I also thought these should be 
color-renderable, but both of the closed-source drivers I check rejected 
this enums.

I'm going to open a spec bug.



More information about the Piglit mailing list