mesa/uniforms: fix get_uniform for doubles (v2)
authorDave Airlie <airlied@gmail.com>
Wed, 30 Sep 2015 07:48:38 +0000 (17:48 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 12 Oct 2015 03:10:59 +0000 (13:10 +1000)
commitbcfaab38858fdcfbd8ffeaf6b0e3da8a726f02e6
tree5a504913d13e1b39fd900002211db2659ea21cef
parentc8083b1adc79073c0d6fc3bb87d6a18e41c779c4
mesa/uniforms: fix get_uniform for doubles (v2)

The initial glGetUniformdv support didn't cover all the
casting cases that are apparantly legal, and cts seems to
test for them.

I've updated the piglit test to cover these cases now.

v2: fix indentation - it's all broken in this file (Ilia)
fix src/dst index tracking in light of fp64 support (Ilia)

cc: "11.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/uniform_query.cpp