mesa: refactor GetActiveAttrib
authorTapani Pälli <tapani.palli@intel.com>
Wed, 11 Mar 2015 07:05:47 +0000 (09:05 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 16 Apr 2015 04:55:57 +0000 (07:55 +0300)
commit26c0394a964f13d0266b1dcf7283bf21b7bca340
treeb89baf6fa8f16067a3de9e65702f3c4cb3f076f5
parent41c230cd983195e3989153f8d82ec95e298352d4
mesa: refactor GetActiveAttrib

Instead of iterating IR, retrieve required information through
the new program resource functions.

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