[Piglit] [PATCH] Add test case for glDrawElementsInstancedBaseVertex

Eric Anholt eric at anholt.net
Wed Jun 1 11:41:14 PDT 2011


On Wed, 1 Jun 2011 10:28:52 +0200, Pierre-Eric Pelloux-Prayer <pelloux at gmail.com> wrote:
> Test based on draw-elements-instanced.c, except it draws 2 instances
> of 1 square and uses gl_InstanceIDARB to modulate position and color.

We've started a trend of putting tests specific to an extension under
tests/spec/extensionname.  For better or worse we haven't gone back and
done that retroactively.  For this test, which is about an interaction
between two extensions, I'd just pick one to put it under.  Probably
GL_ARB_draw_instanced.

There's some strange indenting (spaces instead of tabs) that should get
fixed up.  It's probably also copyright you even if you derived from an
Intel test -- I'd encourage you to add a Copyright line too.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20110601/13958257/attachment.pgp>


More information about the Piglit mailing list