mesa/shader_query: add missing subroutines cases
authorDave Airlie <airlied@redhat.com>
Fri, 6 May 2016 00:21:14 +0000 (10:21 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 8 May 2016 20:30:52 +0000 (06:30 +1000)
commit920d78a32c25eae051599896fe186aa8507cd007
tree4c0344e40f38430b4ff03e9d151531db254e842b
parent742bc53d040632fd98fac8930e4e8749f5c430e2
mesa/shader_query: add missing subroutines cases

ARRAY_SIZE and LOCATION should accept the SUBROUTINE_UNIFORM types.

Fixes:
GL43-CTS.program_interface_query.subroutines-vertex
GL43-CTS.program_interface_query.subroutines-tess-control
GL43-CTS.program_interface_query.subroutines-tess-eval
GL43-CTS.program_interface_query.subroutines-geometry
GL43-CTS.program_interface_query.subroutines-fragment
GL43-CTS.program_interface_query.subroutines-compute

Reviewed-by: Antia Puentes <apuentes@igalia.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/shader_query.cpp