panfrost: match 4-bit format order
It's a bit easier to match things between the format and blendable format arrays if the specific formats are somewhat similarly ordered. So let's sort the various 4 bits per component formats to match. Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32083>
This commit is contained in:

committed by
Marge Bot

parent
b01afd06cd
commit
6dab5fe0cd
@@ -99,9 +99,9 @@ const struct pan_blendable_format
|
||||
BFMT2(R5G6B5_UNORM, R5G6B5A0, R5G6B5, 0),
|
||||
BFMT2(B5G6R5_UNORM, R5G6B5A0, R5G6B5, 0),
|
||||
|
||||
BFMT(A4B4G4R4_UNORM, R4G4B4A4),
|
||||
BFMT(B4G4R4A4_UNORM, R4G4B4A4),
|
||||
BFMT(R4G4B4A4_UNORM, R4G4B4A4),
|
||||
BFMT(B4G4R4A4_UNORM, R4G4B4A4),
|
||||
BFMT(A4B4G4R4_UNORM, R4G4B4A4),
|
||||
|
||||
BFMT(R10G10B10A2_UNORM, R10G10B10A2),
|
||||
BFMT(B10G10R10A2_UNORM, R10G10B10A2),
|
||||
|
Reference in New Issue
Block a user