[Piglit] [PATCH] Add a test for primitive restart with an impossibly large index.
kenneth at whitecape.org
Fri May 24 14:48:49 PDT 2013
On 05/24/2013 01:07 PM, Ian Romanick wrote:
> On 05/25/2013 07:46 AM, Kenneth Graunke wrote:
>> When using glDrawElements with a data type of GL_UNSIGNED_BYTE, a
>> restart index greater than 0xff shouldn't match any index buffer value.
> Should we also test GL_UNSIGNED_SHORT?
I'm not opposed to that. Checking that it doesn't ignore the high bits
should be easy enough, and might be useful. However, checking that
0xFFFF doesn't cause a restart would require a pretty large vertex buffer...
More information about the Piglit