[Piglit] [PATCH 5/5] arb_transform_feedback2: Verify counting queries around pause and resume

Eric Anholt eric at anholt.net
Mon Jul 23 09:01:56 PDT 2012


Ian Romanick <idr at freedesktop.org> writes:
> +	/* Here's the actual test.  Start both kinds of query.  Pause and
> +	 * resume transform feedback around some of the drawing.  This should
> +	 * cause GL_PRIMITIVES_GENERATED to be larger than
> +	 * GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN.
> +	 */
> +	glEnable(GL_RASTERIZER_DISCARD);
> +	glBeginQuery(GL_PRIMITIVES_GENERATED, queries[0]);
> +	glBeginQuery(GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, queries[1]);
> +        glBeginTransformFeedback(GL_TRIANGLES);

whitespace

other than that, r-b.
-------------- 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/20120723/b4c84604/attachment.pgp>


More information about the Piglit mailing list