mesa: use more descriptive error messages for glUniform errors
authorBrian Paul <brianp@vmware.com>
Thu, 19 Mar 2015 14:10:19 +0000 (08:10 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 19 Mar 2015 18:56:35 +0000 (12:56 -0600)
commit1cd37459110402f8a5c07fe0aa0f1198b4bb1da1
treedad9f1b7187f699370a687b8895794326ab2c7a4
parentb0d422cd2a99d2fd26ab11880d5d8410ebfc64b2
mesa: use more descriptive error messages for glUniform errors

Different errors for type mismatches, size mismatches and matrix/
non-matrix mismatches.  Use a common format of "uniformName"@location
in the messags.

Reviewed-by: Martin Peres <martin.peres@linux.intel.com>
src/mesa/main/uniform_query.cpp