glsl: Treat an interface block specifier as a level of struct nesting
authorChris Forbes <chrisf@ijw.co.nz>
Sun, 15 Jun 2014 00:57:20 +0000 (12:57 +1200)
committerChris Forbes <chrisf@ijw.co.nz>
Wed, 25 Jun 2014 19:58:32 +0000 (07:58 +1200)
commitb4ef7c596b31675aea131870ba4c07aaad1f1525
treeaccb1faf2a5ed3ec408ee44249702a1381af030b
parent91b8ecbe1c134604fc87b3761a308b15a6caf394
glsl: Treat an interface block specifier as a level of struct nesting

Fixes the piglit test:

   spec/glsl-1.50/compiler/interface-blocks-structs-defined-within-block-instanced.vert

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ast_to_hir.cpp