pan/midgard: Partially fix 64-bit swizzle alignment
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 27 Feb 2020 14:15:00 +0000 (09:15 -0500)
committerMarge Bot <eric+marge@anholt.net>
Thu, 27 Feb 2020 21:02:35 +0000 (21:02 +0000)
commit4e60dc8f486554656d51d541e10911b7a82a5e80
treebe8a634ce54e54d6ad25365282875ad8b92b6a61
parent9c59f9f3793bf06f2415cc925ce048fe6ab593ad
pan/midgard: Partially fix 64-bit swizzle alignment

When mixing 32/64-bit, we need to align the 32-bit registers to get the
required alignment. This isn't quite enough yet, though, since user
swizzles could bypass and will need to be lowered to 32-bit moves
(outstanding todo).

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3978>
src/panfrost/midgard/midgard_emit.c
src/panfrost/midgard/midgard_ra.c