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

Use _mesa_program_resource_location_index to fetch index.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Martin Peres <martin.peres@linux.intel.com>
src/mesa/main/shader_query.cpp