From ab285efd1b88de188d4f73b3646c90aa2114b3a0 Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Tue, 7 Apr 2026 02:25:05 -0400 Subject: [PATCH] pan/bi: Add BI_SWIZZLE_NONE Fixes: 82328a524519 ("pan/bi: Generate instruction packer for new IR") Reviewed-by: Christoph Pillmayer Reviewed-by: Lars-Ivar Hesselberg Simonsen Reviewed-by: Lorenzo Rossi Part-of: --- src/panfrost/compiler/bifrost/compiler.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/panfrost/compiler/bifrost/compiler.h b/src/panfrost/compiler/bifrost/compiler.h index 063c4bc46c1..39b4f8d09a0 100644 --- a/src/panfrost/compiler/bifrost/compiler.h +++ b/src/panfrost/compiler/bifrost/compiler.h @@ -35,6 +35,9 @@ enum bi_swizzle { BI_SWIZZLE_H10 = 2, BI_SWIZZLE_H11 = 3, + /* Identity swizzle */ + BI_SWIZZLE_NONE = BI_SWIZZLE_H01, + /* 8-bit swizzle equivalents */ BI_SWIZZLE_B0101 = BI_SWIZZLE_H00, BI_SWIZZLE_B0123 = BI_SWIZZLE_H01,