mesa: refactor GetUniformBlockIndex
authorTapani Pälli <tapani.palli@intel.com>
Fri, 13 Mar 2015 06:53:23 +0000 (08:53 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 16 Apr 2015 04:55:57 +0000 (07:55 +0300)
commit7c154bbe6080ced9607bc3f3240d2f0866018aeb
tree4f9f9b39d0bcd9f60defafb6525376123d181b56
parent1b256eb0ec1f919f23641f8d47d4b2ce126dd1a4
mesa: refactor GetUniformBlockIndex

Use _mesa_program_resource_index to get index.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Martin Peres <martin.peres@linux.intel.com>
src/mesa/main/uniforms.c