glsl/linker: skip inactive explicit locations.
authorDave Airlie <airlied@redhat.com>
Wed, 18 May 2016 07:06:41 +0000 (17:06 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 23 May 2016 06:19:57 +0000 (16:19 +1000)
commit93b3b6af3cafa7d17c2253a91168955fd53dafe4
tree3bf07276644139ab745c2ac5c70b9c42b515fb49
parentc714731653fb40d4e20cdfc98c3a200e836e2a21
glsl/linker: skip inactive explicit locations.

This fixes a crash in:
GL45-CTS.explicit_uniform_location.subroutine-loc-negative-link-max-num-of-locations

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