glsl linker: compare interface blocks during interstage linking
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 21 May 2013 06:46:16 +0000 (23:46 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 23 May 2013 16:37:12 +0000 (09:37 -0700)
commit3ddfccb303c571f83de7a0743021eda922c5c8a1
tree47ea40b338cf8c2686748aedfcdebe994d5ff9ff
parent4a0bcd90cff6701aaf08d9bbcf6144b18c2d8284
glsl linker: compare interface blocks during interstage linking

Verify that interface blocks match when linking separate shader
stages into a program.

Fixes piglit glsl-1.50 tests:
* linker/interface-blocks-vs-fs-member-count-mismatch.shader_test
* linker/interface-blocks-vs-fs-member-order-mismatch.shader_test

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
src/glsl/link_interface_blocks.cpp
src/glsl/linker.cpp
src/glsl/linker.h