glsl: do not allow interface block to have name already taken
authorTapani Pälli <tapani.palli@intel.com>
Mon, 19 Jan 2015 10:28:17 +0000 (12:28 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 22 Jan 2015 05:54:19 +0000 (07:54 +0200)
commitadc8cdfa351240f1ce28b677e1be79a30a36b594
tree797d4dc739d6be43b19792743391607fd26a840f
parent28b7c6b28523f9a6786441bb0b86bf143b8a9b7c
glsl: do not allow interface block to have name already taken

Fixes currently failing Piglit case
   interface-blocks-name-reused-globally.vert

v2: combine var declaration with assignment (Ian)

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/ast_to_hir.cpp