pan/bi: Respect swizzles for more vector ops
authorAlyssa Rosenzweig <alyssa@collabora.com>
Thu, 30 Mar 2023 21:51:29 +0000 (17:51 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 13 Apr 2023 01:49:33 +0000 (01:49 +0000)
commit934b0f1add1a843e0ed14f15adbdef2f2c34c88b
treeca6c21e8a70411c35997a28b5380db013cae67cb
parentd00d2ae701cc4e61bc14857f0d6b0cf6f8b3dccd
pan/bi: Respect swizzles for more vector ops

We need to respect the ALU swizzle, this takes a vector. Fixes incorrect
pack_64_2x32 translation hit when wiring up lower_mem_access_bit_sizes for
OpenCL.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22228>
src/panfrost/compiler/bifrost_compile.c