mesa/src/panfrost
Ahmed Hesham 0cf06034da pan/bi: Restore b3210 as a valid swizzle
`b3210` was not removed in v11, and is causing a failure in
OpenCL-CTS when running `test_basic
vector_swizzle`. `invalid_instruction` assertion was triggered with
the message:
```
Invalid 8-bit widen:
                r3 = LSHIFT_OR.v4i8.flow2 u1.b3210, u256, u256.b0
```

Restore `b3210` in the ISA XML file, and handle the case for it in
`va_pack_widen`.

Fixes: c36326d3 ("pan/bi: Remove b3210 from valid swizzle")

Signed-off-by: Ahmed Hesham <ahmed.hesham@arm.com>
Reviewed-by: Lorenzo Rossi <lorenzo.rossi@collabora.com>
Reviewed-by: Christoph Pillmayer <christoph.pillmayer@arm.com>
(cherry picked from commit 2b1d9a2afc)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>
2026-05-13 15:39:18 +02:00
..
ci pan/ci: Mark couple of WSI crashes as flakes 2026-04-29 17:54:42 +02:00
clc panvk: Map ro_sink_address_poly to an OOB address 2026-01-21 09:03:34 +00:00
compiler pan/bi: Restore b3210 as a valid swizzle 2026-05-13 15:39:18 +02:00
drm-shim panfrost: SPDX everything 2026-01-20 20:49:33 +00:00
ds panfrost: Add a few missing license blocks 2026-01-20 20:49:33 +00:00
genxml pan/genxml: remove non-existent YUV Enable for AFRC 2026-04-01 11:45:31 +02:00
lib pan/kmod: fix double syncop count sum when populating vm_bind syncs 2026-05-13 15:39:16 +02:00
libpan panvk/csf: implement VK_EXT_primitives_generated_query primitive restart 2026-01-21 09:03:34 +00:00
model panfrost: SPDX everything 2026-01-20 20:49:33 +00:00
perf panfrost: Add a few missing license blocks 2026-01-20 20:49:33 +00:00
shared panfrost: SPDX everything 2026-01-20 20:49:33 +00:00
tools panfrost: SPDX everything 2026-01-20 20:49:33 +00:00
vulkan panvk/jm: Fix tls_size overwrite in indirect draws 2026-05-13 15:39:16 +02:00
.clang-format panvk: Add various flush/invalidate helpers for internal BOs 2025-12-12 10:15:41 +01:00
meson.build pan: Add a central libpanfrost_compiler library 2025-12-02 21:00:30 +00:00