mesa: fix glGetActiveUniformsiv regression
authorTapani Pälli <tapani.palli@intel.com>
Thu, 23 Apr 2015 11:19:33 +0000 (14:19 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Fri, 24 Apr 2015 10:42:24 +0000 (13:42 +0300)
commit18f44d303014c3c16084c1b15d1999833e0d55db
tree479df76f5f17adc079c02a267a6c17fbefbbaa28
parenta563689a408b7a28c710fb0e382272a0d823f38a
mesa: fix glGetActiveUniformsiv regression

Commit 7519ddb caused regression to glGetActiveUniformsiv.
Patch adds back validation loop of all given uniforms before
writing any values, not touching params in case of errors
is tested by the conformance suite.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90149
Reviewed-by: Martin Peres <martin.peres@linux.intel.com>
src/mesa/main/uniform_query.cpp