glsl: only call mark_max_array if we are assigning an
authorTimothy Arceri <t_arceri@yahoo.com.au>
Thu, 23 Jan 2014 12:19:54 +0000 (23:19 +1100)
committerTimothy Arceri <t_arceri@yahoo.com.au>
Thu, 23 Jan 2014 12:37:36 +0000 (23:37 +1100)
commit3dc932d45048843d83b0f0207043d713f7bceb3c
tree580882b66b8c2832b64332c91a7ff7867e2d8dd5
parentbfb48750f08223fdf1c2d7bf4db1bba5a1088a7c
glsl: only call mark_max_array if we are assigning an
 array

This change does not help fix or prevent any bugs
it just seems reasonable to do

Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/glsl/ast_to_hir.cpp