glsl: Generate error for invalid input layout declarations
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 4 Feb 2014 19:32:56 +0000 (11:32 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 20 Feb 2014 18:33:08 +0000 (10:33 -0800)
commit738c9c3c543b985b025a4a60fcc9c2e212e2d821
treeb2713b673406dfc719c9aafab02592a3f965efe0
parent0c558f9ee6cfc412037dc56ad4c3686e0f116852
glsl: Generate error for invalid input layout declarations

Fixes various piglit tests:
spec/glsl-1.50/compiler/incorrect-in-layout-qualifier-*.geom

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/glsl/ast_type.cpp