From c941e57d749ce0ff3601fba7d2ff44c2842e4939 Mon Sep 17 00:00:00 2001 From: David Rosca Date: Mon, 13 Oct 2025 13:04:58 +0200 Subject: [PATCH] ac/gfx10_format_table: Use new names for 422 subsampled formats MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: f20ee2806eb ("util/format: Add subsampling info to our YUV-as-RGB format names") Acked-by: Pierre-Eric Pelloux-Prayer Reviewed-by: Marek Olšák Part-of: --- src/amd/common/gfx10_format_table.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/amd/common/gfx10_format_table.py b/src/amd/common/gfx10_format_table.py index 511c480dc08..97fef648ddc 100644 --- a/src/amd/common/gfx10_format_table.py +++ b/src/amd/common/gfx10_format_table.py @@ -36,11 +36,11 @@ HARDCODED = { 'PIPE_FORMAT_R9G9B9E5_FLOAT': hardcoded_format('5_9_9_9_FLOAT'), 'PIPE_FORMAT_R11G11B10_FLOAT': hardcoded_format('10_11_11_FLOAT'), # NOTE: full set of int/unorm/etc. exists - 'PIPE_FORMAT_R8G8_B8G8_UNORM': hardcoded_format('GB_GR_UNORM'), - 'PIPE_FORMAT_G8R8_B8R8_UNORM': hardcoded_format('GB_GR_UNORM'), + 'PIPE_FORMAT_R8G8_B8G8_422_UNORM': hardcoded_format('GB_GR_UNORM'), + 'PIPE_FORMAT_G8R8_B8R8_422_UNORM': hardcoded_format('GB_GR_UNORM'), - 'PIPE_FORMAT_R8G8_R8B8_UNORM': hardcoded_format('BG_RG_UNORM'), - 'PIPE_FORMAT_G8R8_G8B8_UNORM': hardcoded_format('BG_RG_UNORM'), + 'PIPE_FORMAT_R8G8_R8B8_422_UNORM': hardcoded_format('BG_RG_UNORM'), + 'PIPE_FORMAT_G8R8_G8B8_422_UNORM': hardcoded_format('BG_RG_UNORM'), # These mixed channel types are not supported natively 'PIPE_FORMAT_R8SG8SB8UX8U_NORM': None,