From 2e372d0c3b1e40988f39d491c6837c6a0d73e714 Mon Sep 17 00:00:00 2001 From: Icecream95 Date: Tue, 29 Dec 2020 01:09:04 +1300 Subject: [PATCH] pan/bi: Add w0 to the 'h01' swizzle bucket A number of instructions, such as LOAD.i8, use this swizzle in the XML. Reviewed-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/bi_packer.c.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panfrost/bifrost/bi_packer.c.py b/src/panfrost/bifrost/bi_packer.c.py index 85af8619329..28669ebfa13 100644 --- a/src/panfrost/bifrost/bi_packer.c.py +++ b/src/panfrost/bifrost/bi_packer.c.py @@ -89,7 +89,7 @@ def pack_modifier(mod, width, default, opts, body, pack_exprs): # Swizzles need to be packed "specially" SWIZZLE_BUCKETS = [ set(['h00', 'h0']), - set(['h01', 'none', 'b0123']), # Identity + set(['h01', 'none', 'b0123', 'w0']), # Identity set(['h10']), set(['h11', 'h1']), set(['b0000', 'b00', 'b0']),