glsl: allow AoA to be sized by initializer or constructor
authorTimothy Arceri <t_arceri@yahoo.com.au>
Thu, 15 Oct 2015 03:32:41 +0000 (14:32 +1100)
committerTimothy Arceri <t_arceri@yahoo.com.au>
Thu, 15 Oct 2015 09:35:45 +0000 (20:35 +1100)
commit3129359ed7461b90fe6ea70641ec7a858dd656de
treeaee6cb5dcc219bd053324c205f156b7667ad9fae
parent296a7ea471fd327ab60d9723bd395e6b34dc9334
glsl: allow AoA to be sized by initializer or constructor

V2: Split out unsized array validation to its own patch as
suggested by Samuel.

Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/glsl/ast.h
src/glsl/ast_array_index.cpp
src/glsl/ast_function.cpp
src/glsl/ast_to_hir.cpp
src/glsl/glsl_parser.yy