pan/bi: Delete BI_SWIZZLE_1123

It appears nowhere so I don't know why we have it in the enum.

Reviewed-by: Christoph Pillmayer <christoph.pillmayer@arm.com>
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com>
Reviewed-by: Lorenzo Rossi <lorenzo.rossi@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40769>
This commit is contained in:
Faith Ekstrand 2026-04-07 02:00:02 -04:00
parent 0b99c88337
commit 48b2e6b551
2 changed files with 0 additions and 5 deletions

View file

@ -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");

View file

@ -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