Re: [Mesa-dev] [PATCH] glsl: Disallow embedded structure definitions

2013-08-18 Thread Kenneth Graunke
On Saturday, August 17, 2013 01:00:51 AM Ian Romanick wrote: > From: Ian Romanick > > Continue to allow them in GLSL 1.10 because the spec allows it. > Generate an error in all other versions because the specs specifically > disallow it. > > Signed-off-by: Ian Romanick > Cc: "9.2" Reviewed-by

[Mesa-dev] [PATCH] glsl: Disallow embedded structure definitions

2013-08-17 Thread Ian Romanick
From: Ian Romanick Continue to allow them in GLSL 1.10 because the spec allows it. Generate an error in all other versions because the specs specifically disallow it. Signed-off-by: Ian Romanick Cc: "9.2" --- src/glsl/ast_to_hir.cpp | 30 ++ src/glsl/glsl_p