mesa: refactor GetUniformLocation
authorTapani Pälli <tapani.palli@intel.com>
Thu, 12 Mar 2015 12:31:15 +0000 (14:31 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 16 Apr 2015 04:55:57 +0000 (07:55 +0300)
commit51313f567d59afd5491e03d1593030066df974eb
tree34c3e21fe420d3adc6203d028a447ea62e837ec9
parent45637e9c1f47df8cc8284b39b18f6b5f2e14aae9
mesa: refactor GetUniformLocation

Use _mesa_program_resource_location to get location.

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