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

2011-10-28 Thread Kenneth Graunke
On 10/26/2011 02:46 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 For the series: Re

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

2011-10-26 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 | 16 ++-- 1 files changed, 14 inser