mesa: add inline conversion functions for ARB_shader_subroutine (v2)
authorDave Airlie <airlied@redhat.com>
Mon, 20 Apr 2015 00:20:06 +0000 (10:20 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 23 Jul 2015 07:25:29 +0000 (17:25 +1000)
commit670b9e56da588581c90d6c68f0a55ecd9153504d
tree9be5a842c8015318e2d51fdc17720f0f249517ac
parentf73ef824869dbb1f91c32ad563c95ca917f40c12
mesa: add inline conversion functions for ARB_shader_subroutine (v2)

This handles converting the shader stages to the internal
prefix along with the program resource interfaces.

v2: add tess support

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/shaderobj.h