[Mesa-dev] [PATCH] glsl: Clarify error message about whole-array assignment in GLSL 1.10.
kenneth at whitecape.org
Wed Sep 7 13:49:13 PDT 2011
On 09/07/2011 12:51 PM, Eric Anholt wrote:
> Previously, it would produce:
> Failed to compile FS: 0:6(7): error: non-lvalue in assignment
> and now it produces:
> Failed to compile FS: 0:5(7): error: whole array assignment is not
> allowed in GLSL 1.10 or GLSL ES 1.00.
> Also, add spec quotation to the two places we have code for array
> lvalues in GLSL 1.10.
> And, of course, because I failed to do a full test run, it broke ES.
> Add even more spec quotations to clarify.
Yeah, this one looks better. :)
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
More information about the mesa-dev