[Piglit] [PATCH] Transform feedback: Update builtin-varyings to test size and type.

Eric Anholt eric at anholt.net
Wed Jan 11 12:20:05 PST 2012


On Wed, 11 Jan 2012 11:31:03 -0800, Paul Berry <stereotype441 at gmail.com> wrote:
> This patch expands the "EXT_transform_feedback/builtin-varyings" tests
> so that in addition to verifying that the transform feedback data is
> written correctly, they verify that GetTransformFeedbackVarying()
> returns the correct size and type values for each builtin.
> 
> This is particularly important to test for gl_ClipDistance, since some
> drivers (e.g. Mesa i965) represent it internally as an array of 1 or 2
> vec4's, but GetTransformFeedbackVarying() needs to report it as an
> array of 1 to 8 floats.

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- 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/20120111/25045b46/attachment.pgp>


More information about the Piglit mailing list