[Piglit] [PATCH] new test : glsl-max-vertex-attrib.c

Brian Paul brianp at vmware.com
Tue May 24 06:46:04 PDT 2011


On 05/24/2011 12:58 AM, tapani.palli at intel.com wrote:
> From: Tapani Pälli<tapani.palli at intel.com>
>
> Queries the value for GL_MAX_VERTEX_ATTRIBS and uses that as index
> to set a value with various functions. GL specification states that
> GL_INVALID_VALUE should occur if index>= GL_MAX_VERTEX_ATTRIBS.
>
> Refactored (no shader needed for this) and cleaned up the code + added
> missing copyright header.

Committed.  Thanks.

Ideally, there are more functions that should be tested for this 
error, but this hits the main ones.

-Brian



More information about the Piglit mailing list