diff --git a/.pick_status.json b/.pick_status.json index d86967e0184..ab8f2c950a7 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -394,7 +394,7 @@ "description": "pan/bi: Restore b3210 as a valid swizzle", "nominated": true, "nomination_type": 2, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "c36326d3afc453c23c8e3bb55d27a7443c89f06c", "notes": null diff --git a/src/panfrost/compiler/bifrost/valhall/ISA.xml b/src/panfrost/compiler/bifrost/valhall/ISA.xml index 43b292f2c57..47ba6928e89 100644 --- a/src/panfrost/compiler/bifrost/valhall/ISA.xml +++ b/src/panfrost/compiler/bifrost/valhall/ISA.xml @@ -164,8 +164,7 @@ b0123 - - + b3210 b0101 b2323 b0000 diff --git a/src/panfrost/compiler/bifrost/valhall/va_pack.c b/src/panfrost/compiler/bifrost/valhall/va_pack.c index 9665cc1cfd5..0790005e49a 100644 --- a/src/panfrost/compiler/bifrost/valhall/va_pack.c +++ b/src/panfrost/compiler/bifrost/valhall/va_pack.c @@ -250,6 +250,8 @@ va_pack_widen(const bi_instr *I, enum bi_swizzle swz, enum va_size size) switch (swz) { case BI_SWIZZLE_B0123: return VA_SWIZZLES_8_BIT_B0123; + case BI_SWIZZLE_B3210: + return VA_SWIZZLES_8_BIT_B3210; case BI_SWIZZLE_B0101: return VA_SWIZZLES_8_BIT_B0101; case BI_SWIZZLE_B2323: