mesa: fill out the ARB_shader_subroutine APIs
authorDave Airlie <airlied@redhat.com>
Mon, 20 Apr 2015 00:29:12 +0000 (10:29 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 23 Jul 2015 07:25:59 +0000 (17:25 +1000)
commit6f57fda494a6b4ccf30cab000ca28154fbabcb78
treed8980fce3defc130475711b9513c78d9993e694b
parent3f4f3e2d4877e1e2bda064cc323fb7b3667e12fe
mesa: fill out the ARB_shader_subroutine APIs

This fleshes out the APIs, using the program resource
APIs where they should match.

It also sets the default values to valid subroutines.

Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/shaderapi.c
src/mesa/main/shaderapi.h