mesa: Refactor getting a uniform's name to a helper function
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 14 Dec 2012 22:59:11 +0000 (14:59 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Sat, 19 Jan 2013 01:35:33 +0000 (17:35 -0800)
commit5938c7774ff973612358ca52691c3eb73171e2e7
tree36d7b1f119b062ff7e4a45be30134da1c50b3833
parentf26520146b6763212aca5c4f1f14a32f2824bbb0
mesa: Refactor getting a uniform's name to a helper function

We currently have a bug in this code, and I don't want to fix it in two
places.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/uniform_query.cpp
src/mesa/main/uniforms.c
src/mesa/main/uniforms.h