st/glsl_to_tgsi: fix block copies of arrays of structs
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Sun, 16 Oct 2016 15:34:33 +0000 (17:34 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 20 Oct 2016 08:37:01 +0000 (10:37 +0200)
commita1895685f8f341e7facf3c5705bdee99860e3082
tree7248f13ae8befdfabe229e9c28d4c8b42ee72da2
parentca592af880b71feb8ebbf79f704380d0deb47b33
st/glsl_to_tgsi: fix block copies of arrays of structs

Use a full writemask in this case. This is relevant e.g. when a function
has an inout argument which is an array of structs.

v2: use C-style comment (Timothy Arceri)

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