[Mesa-dev] [PATCH] mesa: Fix bogus transform feedback error message when subscripting non-array.

2012-01-04 Thread Paul Berry
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

Re: [Mesa-dev] [PATCH] mesa: Fix bogus transform feedback error message when subscripting non-array.

2012-01-04 Thread Kenneth Graunke
On 01/04/2012 03:23 PM, Paul Berry 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

Re: [Mesa-dev] [PATCH] mesa: Fix bogus transform feedback error message when subscripting non-array.

2012-01-04 Thread Eric Anholt
On Wed, 4 Jan 2012 15:23:06 -0800, Paul Berry stereotype...@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

Re: [Mesa-dev] [PATCH] mesa: Fix bogus transform feedback error message when subscripting non-array.

2012-01-04 Thread Ian Romanick
On 01/04/2012 03:23 PM, Paul Berry 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