mesa: Move _mesa_GetAttribLocationARB to shader_query.cpp
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 16 Aug 2011 19:51:25 +0000 (12:51 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 4 Oct 2011 19:33:28 +0000 (12:33 -0700)
commitb7fa0d0727a3a9e1f64d3cfc7a0f157b35dec09e
tree84d4cf73928dd54023863471f1a72e4be1b7e877
parent7bbcc0b832b02f9da6365ec6a86a0167cf75d8a8
mesa: Move _mesa_GetAttribLocationARB to shader_query.cpp

This allows querying the linked shader itself rather than the Mesa IR.
This is the first step towards removing gl_program::Attributes.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/shader_query.cpp [new file with mode: 0644]
src/mesa/main/shaderapi.c
src/mesa/sources.mak