[Piglit] [PATCH] gl: Add GL_NV_primitive_restart test

Jordan Justen jljusten at gmail.com
Mon Apr 23 16:11:36 PDT 2012


On Mon, Apr 23, 2012 at 14:50, Brian Paul <brianp at vmware.com> wrote:
> On 04/23/2012 12:38 PM, Jordan Justen wrote:
>>
>> This test draws two boxes with a primitive restart
>> index used between drawing the two boxes.
>>
>> These draw modes are tested:
>> * GL_TRIANGLES, GL_QUADS, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN
>>
>> Three restart indices are tested:
>> * ~0
>> * an index in the middle of the array
>> * just passed the end of the array
>>
>> Signed-off-by: Jordan Justen<jordan.l.justen at intel.com>
>
>
> We already have a primitive restart test in Mesa.  Does this test do
> something new?

No, it does not appear so.

Thanks for pointing this out, and I wish I had noticed the other test
earlier. :)

-Jordan


More information about the Piglit mailing list