mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-11 08:00:13 +01:00
ac/gfx10_format_table: Use new names for 422 subsampled formats
Fixes: f20ee2806e ("util/format: Add subsampling info to our YUV-as-RGB format names")
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37838>
This commit is contained in:
parent
c8093e6cb1
commit
c941e57d74
1 changed files with 4 additions and 4 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue