glsl: Improve error message when attemping assignment to unsized array
authorTimothy Arceri <t_arceri@yahoo.com.au>
Tue, 19 Nov 2013 21:42:19 +0000 (08:42 +1100)
committerIan Romanick <ian.d.romanick@intel.com>
Sat, 23 Nov 2013 23:52:27 +0000 (15:52 -0800)
commit3c9f0096c75315ea73d44ec17bc90c4d4c0d8f77
tree4a7c759a2a1c48d7547df82cf511d6804333a1c9
parentbd00c66500712b9eb594cd6a7ff501811f170f78
glsl: Improve error message when attemping assignment to unsized array

V2: Return after error to avoid cascading error messages and
removed redundant "to" from error message

Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/ast_to_hir.cpp