glsl: remove specical case subroutine type counting
authorTimothy Arceri <t_arceri@yahoo.com.au>
Sun, 9 Aug 2015 06:25:50 +0000 (16:25 +1000)
committerTimothy Arceri <t_arceri@yahoo.com.au>
Mon, 31 Aug 2015 03:10:44 +0000 (13:10 +1000)
commitc8bc8d723598ec87bbce9a2439075dfe1612a359
treeed21cca8a3b004c50a727cc685883489ac09248d
parent0d19dc302f21d00b88ccb7b70e5a110d17ea4fdf
glsl: remove specical case subroutine type counting

Unlike samplers we can get the correct value for subroutines from
component_slots()

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/glsl/link_uniforms.cpp