mesa: Move the link check from _mesa_get_uniform_location to _mesa_GetUniformLocationARB
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 11 Oct 2011 23:55:54 +0000 (16:55 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 7 Nov 2011 21:33:15 +0000 (13:33 -0800)
commitfa7eccb8c0c590535856a54e3697982af6a630ed
tree523c2198b4634d7d079b94171443bc592a234251
parentf6ee7bce65697ea3c6a78a000a49af901ba77c1d
mesa: Move the link check from _mesa_get_uniform_location to _mesa_GetUniformLocationARB

There are cases where we might want to internally query the location
of a uniform in a shader that failed linking.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Tested-by: Tom Stellard <thomas.stellard@amd.com>
src/mesa/main/uniforms.c