pan/bi: Fix mov and pack_32_2x16
authorAlyssa Rosenzweig <alyssa@collabora.com>
Wed, 18 May 2022 16:44:38 +0000 (12:44 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 19 May 2022 16:08:26 +0000 (16:08 +0000)
commit9924e6f291496e1c53a1691bc371c99b0f49964b
tree496bdc78955bc5396ea93df3cb498156418ab3db
parentbc17288697f87830f533c2a55ba3503e7423d53a
pan/bi: Fix mov and pack_32_2x16

Move can take in a vector and write a scalar, depending on the swizzle. We need
to handle this case. Split out mov and pack_32_2x16 so we can specify correct
behaviour for both. Also drop unused 1-bit boolean stuff which obscured the fix.

Fixes: 76cea8e27b3 ("panfrost: Fix pack_32_2x16 implementation")
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16585>
src/panfrost/bifrost/bifrost_compile.c