[Piglit] [PATCH] Transform feedback: Modify tessellation test to verify primitive count.

Eric Anholt eric at anholt.net
Tue Dec 27 13:03:04 PST 2011


On Mon, 19 Dec 2011 15:52:35 -0800, Paul Berry <stereotype441 at gmail.com> wrote:
> This patch modifies the transform feedback tessellation test to check
> that the query GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN counts the
> correct number of primitives for all primitive types.  Previously, we
> were only testing correct behavior of GL_TRANSFORM_FEEDBACK_PRIMITIVES
> in the "position" test, which always draws triangles.
> 
> Verified that these tests still pass on the nVidia proprietary Linux
> driver.
> ---
> 
> This patch depends on "[PATCH v3] Add a test of tessellation of
> transform feedback primitives.", which is still under review on the
> Piglit mailing list, pending an investigation into why some of the
> tests fail on an AMD system.

This test seems like a relevant one to be testing the primitives
queries.  But why only WRITTEN and not GENERATED as well?
-------------- 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/20111227/6dcaead3/attachment.pgp>


More information about the Piglit mailing list