[Mesa-dev] [PATCH] mesa: Fix bogus transform feedback error message when subscripting non-array.
Eric Anholt
eric at anholt.net
Wed Jan 4 15:37:26 PST 2012
On Wed, 4 Jan 2012 15:23:06 -0800, Paul Berry <stereotype441 at gmail.com> wrote:
> Previous to this patch, if the client requested transform feedback
> using a subscript, but the variable was not an array
> (e.g. "gl_FrontColor[0]"), we would produce a bogus error message like
> "Transform feedback varying gl_FrontColor[0] found, but it's an array
> ([] expected)".
>
> Changed the error message to e.g. "Transfrorm feedback varying
> gl_FrontColor[0] requested, but gl_FrontColor is not an array."
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/mesa-dev/attachments/20120104/c4314ce0/attachment.pgp>
More information about the mesa-dev
mailing list