st/glsl_to_tgsi: fix block copies of arrays of doubles
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Sun, 16 Oct 2016 15:33:51 +0000 (17:33 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 20 Oct 2016 08:30:00 +0000 (10:30 +0200)
commitca592af880b71feb8ebbf79f704380d0deb47b33
treed13648ce45337da613b7e4c85369ee4377bc23fd
parent3da08e166415a745139c1127040a24e8a45dc553
st/glsl_to_tgsi: fix block copies of arrays of doubles

Set the type of the left-hand side to the same as the right-hand side,
so that when the base type is double, the writemask of the MOV instruction
is properly fixed up.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Cc: 13.0 <mesa-stable@lists.freedesktop.org>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp