glsl: Cross-validate GS layout qualifiers while intrastage linking.
authorEric Anholt <eric@anholt.net>
Thu, 13 Jun 2013 01:12:40 +0000 (18:12 -0700)
committerPaul Berry <stereotype441@gmail.com>
Fri, 2 Aug 2013 03:24:23 +0000 (20:24 -0700)
commit6065a87bce0c3fb0d9694c381c5a31b63e1f0300
tree919407e3a36e99ca6dedc4bbb5cb46d850d051aa
parent010a6a8fd343537101e7ac5e8dfcf9b07fc841fb
glsl: Cross-validate GS layout qualifiers while intrastage linking.

This gets piglit's geometry-basic test running.

TODO: Still need to validate that the GS layout qualifiers don't get used
in places they shouldn't (like an interface block, or a particular shader
input or output)

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/linker.cpp