diff --git a/src/panfrost/compiler/bifrost/bi_printer.c.py b/src/panfrost/compiler/bifrost/bi_printer.c.py index 64e2618041e..5808b02b3d0 100644 --- a/src/panfrost/compiler/bifrost/bi_printer.c.py +++ b/src/panfrost/compiler/bifrost/bi_printer.c.py @@ -31,7 +31,6 @@ bi_swizzle_as_str(enum bi_swizzle swz) case BI_SWIZZLE_B3322: return ".b3322"; case BI_SWIZZLE_B0033: return ".b0033"; case BI_SWIZZLE_B1133: return ".b1133"; - case BI_SWIZZLE_B1123: return ".b1123"; } UNREACHABLE("Invalid swizzle"); diff --git a/src/panfrost/compiler/bifrost/compiler.h b/src/panfrost/compiler/bifrost/compiler.h index a54632a018b..063c4bc46c1 100644 --- a/src/panfrost/compiler/bifrost/compiler.h +++ b/src/panfrost/compiler/bifrost/compiler.h @@ -64,7 +64,6 @@ enum bi_swizzle { BI_SWIZZLE_B3322 = 19, BI_SWIZZLE_B0033 = 20, BI_SWIZZLE_B1133 = 21, - BI_SWIZZLE_B1123 = 22, /* 16-bit single-lane, values ordered sequentially */ BI_SWIZZLE_H0 = BI_SWIZZLE_H00, @@ -135,7 +134,6 @@ bi_swizzle_to_byte_channels(enum bi_swizzle swizzle, unsigned *channels) B(3, 3, 2, 2); B(0, 0, 3, 3); B(1, 1, 3, 3); - B(1, 1, 2, 3); } #undef B @@ -179,7 +177,6 @@ bi_swizzle_from_byte_channels(const unsigned byte_channels[4], B(3, 3, 2, 2); B(0, 0, 3, 3); B(1, 1, 3, 3); - B(1, 1, 2, 3); #undef B default: return false; @@ -244,7 +241,6 @@ bi_apply_swizzle(uint32_t value, enum bi_swizzle swz) B(3, 3, 2, 2); B(0, 0, 3, 3); B(1, 1, 3, 3); - B(1, 1, 2, 3); } #undef H