[Piglit] [PATCH] glsl-1.10: Add test for structure with same-name fields

Eric Anholt eric at anholt.net
Wed Nov 28 12:08:33 PST 2012


Ian Romanick <idr at freedesktop.org> writes:

> From: Ian Romanick <ian.d.romanick at intel.com>
>
> This is related to the WebGL shader-with-non-reserved-words tests.
> Several of these tests use name that are reserved words in other GLSL
> versions as variable names, structure names, structure field names,
> and function names.  Some of the cases use the same name for the
> structure name and the field name.
>
> Currently, the tests fail on Mesa.  Changing the field name from S to
> T causes the test to pass on Mesa.  The tests pass on NVIDIA 295.59.
> AMD drivers were not tested.

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/20121128/5dbfb413/attachment.pgp>


More information about the Piglit mailing list