freedreno/ir3: fix mismatched flags on split
authorRob Clark <robdclark@chromium.org>
Fri, 15 May 2020 23:44:29 +0000 (16:44 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 19 May 2020 16:06:17 +0000 (16:06 +0000)
commit3db5d146e97e132e17fe7e3aca306c3523d14279
treeb704711cf74f62b1b0b9675201cec1f004430552
parentb24b6a83653f1b53237288215cbff94ffeb2dc56
freedreno/ir3: fix mismatched flags on split

We have to fixup the meta:split half flag, because `ir3_split_dest()` is
called before we fixup the dest type.  But we should fixup both the
split src and dest, as well as the thing it is splitting.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5048>
src/freedreno/ir3/ir3_context.c