Re: [Mesa-dev] [PATCH 18/19] glsl: allow AoA to be sized by initializer or constructor

2015-06-20 Thread Timothy Arceri
On Sat, 2015-06-20 at 22:33 +1000, Timothy Arceri wrote: > From Section 4.1.9 of the GLSL ES 3.10 spec: > > "Arrays are sized either at compile-time or at run-time. > To size an array at compile-time, either the size > must be specified within the brackets as above or > must be inferred from the t

[Mesa-dev] [PATCH 18/19] glsl: allow AoA to be sized by initializer or constructor

2015-06-20 Thread Timothy Arceri
From Section 4.1.9 of the GLSL ES 3.10 spec: "Arrays are sized either at compile-time or at run-time. To size an array at compile-time, either the size must be specified within the brackets as above or must be inferred from the type of the initializer." --- src/glsl/ast.h | 21 +++--