mesa/subroutines: don't generate error in GetSubroutineIndex.
authorDave Airlie <airlied@redhat.com>
Tue, 17 May 2016 04:20:00 +0000 (14:20 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 23 May 2016 06:19:57 +0000 (16:19 +1000)
commit22db9b10ebd46c777a87da890f5089ad24686441
tree563cd945f1f32800897452a7d6564187813bebd7
parent3b8b6be7bb35291827b758038e4c99b25aced30c
mesa/subroutines: don't generate error in GetSubroutineIndex.

GLSL spec says this doesn't generate an error.

Fixes:
GL45-CTS.explicit_uniform_location.subroutine-loc

Reviewed-by: Chris Forbes <chrisforbes@google.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/shaderapi.c