pan/bi: Add BI_SWIZZLE_NONE

Fixes: 82328a5245 ("pan/bi: Generate instruction packer for new IR")
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>
(cherry picked from commit ab285efd1b)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40979>
This commit is contained in:
Faith Ekstrand 2026-04-07 02:25:05 -04:00 committed by Eric Engestrom
parent 665974c934
commit 1067d2772e
2 changed files with 4 additions and 1 deletions

View file

@ -2304,7 +2304,7 @@
"description": "pan/bi: Add BI_SWIZZLE_NONE",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "82328a524519c7b1066837b9a499b37051d55a08",
"notes": null

View file

@ -35,6 +35,9 @@ enum bi_swizzle {
BI_SWIZZLE_H10 = 2,
BI_SWIZZLE_H11 = 3,
/* Identity swizzle */
BI_SWIZZLE_NONE = BI_SWIZZLE_H01,
/* 8-bit swizzle equivalents */
BI_SWIZZLE_B0101 = BI_SWIZZLE_H00,
BI_SWIZZLE_B0123 = BI_SWIZZLE_H01,