From 3fffcf4338dfff7b9cdd5ade6eb69557b40cacf3 Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Mon, 30 Mar 2026 19:45:01 -0400 Subject: [PATCH] pan/bi: Support more swizzle aliases in the bifrost pack code Fixes: 82328a524519 ("pan/bi: Generate instruction packer for new IR") Reviewed-by: Lorenzo Rossi Part-of: --- src/panfrost/compiler/bifrost/bi_packer.c.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/panfrost/compiler/bifrost/bi_packer.c.py b/src/panfrost/compiler/bifrost/bi_packer.c.py index ecc6c7bc308..e27da9ca538 100644 --- a/src/panfrost/compiler/bifrost/bi_packer.c.py +++ b/src/panfrost/compiler/bifrost/bi_packer.c.py @@ -78,10 +78,10 @@ def pack_modifier(mod, width, default, opts, body, pack_exprs): # Swizzles need to be packed "specially" SWIZZLE_BUCKETS = [ - set(['h00', 'h0']), + set(['h00', 'h0', 'b0101']), set(['h01', 'none', 'b0123', 'w0']), # Identity - set(['h10']), - set(['h11', 'h1']), + set(['h10', 'b2301']), + set(['h11', 'h1', 'b2323']), set(['b0000', 'b00', 'b0']), set(['b1111', 'b11', 'b1']), set(['b2222', 'b22', 'b2']),