pan/bi: Allow vec16 in bi_print_swizzle()
authorBoris Brezillon <boris.brezillon@collabora.com>
Fri, 13 Nov 2020 08:47:54 +0000 (09:47 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Fri, 13 Nov 2020 13:35:17 +0000 (14:35 +0100)
commit38bebba18ac1f59f65591a96bd97b916ee8cd995
treef80fa18e6523ea5c1fab409741119188fe22ed1c
parent55cb921f9233acb098e06f95bf8cb2f10fccee1e
pan/bi: Allow vec16 in bi_print_swizzle()

Ideally we should choose "abcd" instead of "xyzw" when accessing a
vector that has more than 4 components, but bi_instruction does not
provide this information, so let's keep things simple for now.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7530>
src/panfrost/bifrost/bi_print.c