From the GLSL ES 3.00 specification: > The array size must be a constant integral expression (see section 4.3.3 “Constant Expressions”) greater than zero.