Revert "glsl: remove restriction on unsized arrays in GLSL ES 3.10"
authorTimothy Arceri <t_arceri@yahoo.com.au>
Mon, 15 Jun 2015 11:00:47 +0000 (21:00 +1000)
committerTimothy Arceri <t_arceri@yahoo.com.au>
Tue, 16 Jun 2015 10:58:59 +0000 (20:58 +1000)
commitda6996485f2ca636218e3d83b53cf6a450bb9b38
treefd7e7d821517e6258da747dc4775061f942bf954
parent7d88ab42b9dda825feddbae774a2a48ddf3cbec2
Revert "glsl: remove restriction on unsized arrays in GLSL ES 3.10"

This reverts commit adee54f8269c5e9f4fde91d19f0e465afc8f14d8.

Further down in the GLSL ES 3.10 spec it say:

"If an array is declared as the last member of a shader storage block
and the size is not specified at compile-time, it is sized at run-time.
In all other cases, arrays are sized only at compile-time."

Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/glsl/ast_to_hir.cpp