mesa: use split_location_offset() in GetUniform() functions
authorBrian Paul <brianp@vmware.com>
Tue, 1 Jun 2010 15:02:07 +0000 (09:02 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 1 Jun 2010 15:02:10 +0000 (09:02 -0600)
commit1bbf803e3bc8eeabcc2c24b89bc30a30b2445c59
tree8c23e8e224404078ead401b179ea088aef843088
parent7356d1c140f2989df9e8645cf4b85962f27d0fca
mesa: use split_location_offset() in GetUniform() functions

Commit 5d0e136eff54a34258b5adaeda4cb267831e8234 exposed a long-standing
bug in the glGetUniform*() code paths.  We weren't properly decoding
the location parameter.

Fixes fd.o bug/regression 28344

Note: this patch should go into the 7.8 branch after the above-mentioned
commit.
src/mesa/shader/uniforms.c