mesa/src/panfrost
Ahmed Hesham b1c40839f2 pan/bi: Fix MKVEC.v2i8 src2 swizzle lowering
`MKVEC.v2i8` only has explicit lane selection for `src0` and `src1`.
`src` is implicitly read as `.b01`, so having a byte swizzle on `src2`
results in an instruction that cannot be encoded.

This fixes a failure in OpenCL-CTS when running `test_relationals
shuffle_copy`:
```
Invalid swizzle:
r0 = MKVEC.v2i8 r0^.b0, r0^.b3, r0^.b0

invalid_instruction: Assertion `!"Invalid instruction"' failed.
```

Fixes: bc7053a ("pan/bi: Add a lowering pass for MKVEC and SWZ")

Signed-off-by: Ahmed Hesham <ahmed.hesham@arm.com>
Reviewed-by: Lorenzo Rossi <lorenzo.rossi@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41109>
2026-05-27 14:06:44 +00:00
..
ci ci/panfrost: Add two T860 OpenCL fails 2026-05-22 13:31:37 +00:00
clc meson: Add Soong compatibility compiler flags to Vulkan drivers 2026-05-22 07:09:49 +00:00
compiler pan/bi: Fix MKVEC.v2i8 src2 swizzle lowering 2026-05-27 14:06:44 +00: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 meson: Add Soong compatibility compiler flags to Vulkan drivers 2026-05-22 07:09:49 +00:00
lib meson: Add Soong compatibility compiler flags to Vulkan drivers 2026-05-22 07:09:49 +00:00
libpan pan/clc: Build for v14 2026-05-13 17:37:34 +00:00
model panfrost: Advertise Mali-G1-Premium and Mali-G1-Ultra support 2026-05-27 11:33:20 +02:00
perf panfrost: Add a few missing license blocks 2026-01-20 20:49:33 +00:00
shared meson: Add Soong compatibility compiler flags to Vulkan drivers 2026-05-22 07:09:49 +00:00
tools pan: Add support for 64 bit gpu_id 2026-04-09 09:49:20 +00:00
vulkan panvk: fix executable properties handling for IDVS varying shaders 2026-05-26 19:57:35 +00:00
.clang-format pan: Add some missing ForEachMacros to .clang-format 2026-02-03 13:26:12 +00:00
meson.build pan: Add a central libpanfrost_compiler library 2025-12-02 21:00:30 +00:00