[Piglit] [PATCH] gl: Add GL_NV_primitive_restart test

Brian Paul brianp at vmware.com
Mon Apr 23 16:12:48 PDT 2012


On 04/23/2012 05:11 PM, Jordan Justen wrote:
> 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. :)

Yeah, I can imagine. :(

-Brian

BTW: I meant "piglit" above, not "Mesa", of course.



More information about the Piglit mailing list