glsl: fix segfault linking subroutine uniform with explicit location
authorTimothy Arceri <timothy.arceri@collabora.com>
Mon, 18 Jan 2016 00:13:27 +0000 (11:13 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Mon, 18 Jan 2016 00:30:45 +0000 (11:30 +1100)
commit50376e0c0e81f80cac6ec77da491241e4ccf57f0
treeb561e89c36ecdadcf0bad2c02c68915738ba9e4b
parent4ac1274caa260300e951d3e66596d308ec531cfa
glsl: fix segfault linking subroutine uniform with explicit location

Reviewed-by: Dave Airlie <airlied@redhat.com>
Cc: "11.0 11.1" mesa-stable@lists.freedesktop.org
src/glsl/linker.cpp