glsl/linker: link error on too many subroutine functions.
authorDave Airlie <airlied@redhat.com>
Tue, 17 May 2016 04:52:38 +0000 (14:52 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 23 May 2016 06:19:56 +0000 (16:19 +1000)
commit432ac19c1ad34f32bdcfe6ec7823383ee24eb016
tree2eb421f01fc45530d5539c7026f0dbfe90dfcbcd
parent18b0a13e803d740e52f1205b690e30cd119bcf87
glsl/linker: link error on too many subroutine functions.

This fixes:
GL45-CTS.explicit_uniform_location.subroutine-index-negative-link-max-num-of-indices

Reviewed-by: Chris Forbes <chrisforbes@google.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/compiler/glsl/linker.cpp