st/glsl_to_tgsi: fix block movs for doubles
authorDave Airlie <airlied@redhat.com>
Sat, 19 Dec 2015 04:43:19 +0000 (14:43 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 31 Dec 2015 23:43:54 +0000 (09:43 +1000)
commitb83525599290ab1226f64163cf13761223f17829
tree0679082e3a127850bcbee1954d8fc0e6633ccd2f
parentd214ce86cf0d5f5bd0135f1558194391e72501d0
st/glsl_to_tgsi: fix block movs for doubles

While playing with fp64, I disable varying packing to debug
something else, and noticed we never emitted half the output
movs for double matrix arrays.

We should be moving the left index two slots for dual
source doubles, and the right index two slots for non-vs
input doubles.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp