[Piglit] New test regarding GL_CLIENT_VERTEX_ARRAY_BIT on push/pop

Mathias Fröhlich Mathias.Froehlich at gmx.net
Thu Oct 27 08:43:34 PDT 2011


Attached is a new test that checks vertex array state.
Checks are done for the initial state, push and pop of 
GL_CLIENT_VERTEX_ARRAY_BIT and buffer objects assigned
to the array state.
The test is not complete in that it does not check every state
that needs to be pushed, but it includes the most important
ones and might be a good starting point to be extended.

There is one thing that is unclear to me in the standard and
consequently is not checked to the end. That is the question
what happens to a buffer object that is pushed with the array
state and deleted while being pushed.
Nicely also the closed source drivers as of today from nvidia
and ati also disagree with their behaviour.

Please review and apply if the test is ok so far.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-a-partial-test-on-push-pop-array-client-attribs.patch
Type: text/x-patch
Size: 22443 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20111027/085c574c/attachment-0001.bin>

More information about the Piglit mailing list