mesa: Make _mesa_GetActiveAttribARB use the attributes in the shader IR
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 18 Aug 2011 22:06:07 +0000 (15:06 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 4 Oct 2011 20:17:47 +0000 (13:17 -0700)
commit84d71a07bb06fe5fe231b8983558fbd3608ec6f0
tree46f99d2dd2e120a40f2a343f6896a9102323bc89
parent7a80c1bbc56b61525634f2b699f995e863dfade2
mesa: Make _mesa_GetActiveAttribARB use the attributes in the shader IR

Instead of relying on the mirror in the Mesa IR assembly shader, just
use the variables actually stored in the GLSL IR.  This will be a bit
slower, but nobody cares about the performance of glGetActiveAttrib.

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