[Mesa-dev] [PATCH 1/3] mesa: Simplify some tests in update_array_format()

Brian Paul brianp at vmware.com
Thu Mar 5 15:00:18 PST 2015


On 03/05/2015 03:56 PM, Ian Romanick wrote:
> On 03/05/2015 10:56 AM, Fredrik Höglund wrote:
>> There is no need to check if these extensions are supported here;
>> if the data type is not supported, we will already have returned a
>> GL_INVALID_ENUM error.
>
>  From where would GL_INVALID_ENUM have been generated?  Is that the
> "(typeBit & legalTypesMask) == 0x0" check?
>
> Do we have any piglit tests that verify this?  We'd have to find some
> driver that doesn't support these extensions to try it...

or, export MESA_EXTENSION_OVERRIDE="-GL_ARB_vertex_type_2_10_10_10_rev"

-Brian





More information about the mesa-dev mailing list