Re: [Mesa-dev] [PATCH] glsl: Generate an error for array-of-array declarations

2011-10-24 Thread Kenneth Graunke
On 10/24/2011 12:29 PM, Ian Romanick wrote: > From: Ian Romanick > > Other parts of the code already caught things like 'float x[4][2]'. > However, nothing caught 'float [4] x[2]'. > > Fixes piglit test array-multidimensional-new-syntax.vert. > > Signed-off-by: Ian Romanick > --- > src/glsl/a

[Mesa-dev] [PATCH] glsl: Generate an error for array-of-array declarations

2011-10-24 Thread Ian Romanick
From: Ian Romanick Other parts of the code already caught things like 'float x[4][2]'. However, nothing caught 'float [4] x[2]'. Fixes piglit test array-multidimensional-new-syntax.vert. Signed-off-by: Ian Romanick --- src/glsl/ast_to_hir.cpp | 12 1 files changed, 12 insertion