diff --git a/.pick_status.json b/.pick_status.json index f5200b5fcc7..cb0e74e453a 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -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 diff --git a/src/panfrost/compiler/bifrost/compiler.h b/src/panfrost/compiler/bifrost/compiler.h index c5e7a753f98..7680ab454d5 100644 --- a/src/panfrost/compiler/bifrost/compiler.h +++ b/src/panfrost/compiler/bifrost/compiler.h @@ -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,