glsl: don't eliminate subroutine types.
authorDave Airlie <airlied@redhat.com>
Tue, 21 Jul 2015 04:52:40 +0000 (14:52 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 23 Jul 2015 07:25:27 +0000 (17:25 +1000)
commitf73ef824869dbb1f91c32ad563c95ca917f40c12
tree59c34bdec162d1214391faf9c487ecfd8f6cc4b1
parent57f24299b7fe0f7b20c2a3cf1e94c747825b568d
glsl: don't eliminate subroutine types.

This stops dead code from removing subroutines types,
we need these for the queries to work properly.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/glsl/opt_dead_code.cpp