glsl: Emit errors for assignments to non-l-value expressions
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 23 Dec 2011 17:56:29 +0000 (09:56 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 6 Jan 2012 22:32:50 +0000 (14:32 -0800)
commite9015e99d0d702570dbd3d7bcbafbf6c723cb7a7
tree0059f9c6c7df9b6fe06f20360c96822f01228a7f
parentfa0a9ac5cdf49865cfc289c4326c73c9dd4a61c5
glsl: Emit errors for assignments to non-l-value expressions

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42755
src/glsl/ast_to_hir.cpp