ast_to_hir: Mark arrays as lvalues in GLSL ES, but prohibit assignment.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 7 Sep 2010 09:59:38 +0000 (02:59 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 8 Sep 2010 00:30:39 +0000 (17:30 -0700)
commit10eaa8bcbce1cd6d2e120e913f7abafde9675215
treebfdfdf4a0e9591d3e1f2287b9d7ea6863e93d097
parenta98d5a5ac8b61edc14f60836e5a997bb88fc5c80
ast_to_hir: Mark arrays as lvalues in GLSL ES, but prohibit assignment.

This allows them to be passed as out/inout parameters, but still
prevents them from being used as the target of an assignment.  This is
per section 5.8 of the GLSL ES 1.00 specification.
src/glsl/ast_to_hir.cpp