glsl: additional interface redeclaration check for SSO programs
authorTapani Pälli <tapani.palli@intel.com>
Tue, 5 Nov 2019 13:00:25 +0000 (15:00 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Wed, 4 Dec 2019 15:27:41 +0000 (15:27 +0000)
commit272ef5d39a1f72d58dc2fb2be03bc598083197fb
tree3781db483d2444bbae01001c887da11a55171e5e
parent2d26cc077db262fa5e21dd8ae71970380fdf7d41
glsl: additional interface redeclaration check for SSO programs

Patch adds additional linker check for SSO programs to make sure they
are redeclaring built-in blocks as required by the desktop spec.

This fixes following Piglit tests:
   arb_separate_shader_objects/linker/pervertex-*

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/glsl/link_interface_blocks.cpp