mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 13:00:09 +01:00
ac/surface: remove 64K_2D modifier with 64B max compressed blocks for gfx12
It has no use and is slower. Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34016>
This commit is contained in:
parent
27d5be13c6
commit
e4a30b7241
1 changed files with 0 additions and 3 deletions
|
|
@ -557,13 +557,10 @@ bool ac_get_supported_modifiers(const struct radeon_info *info,
|
|||
AMD_FMT_MOD_SET(DCC_MAX_COMPRESSED_BLOCK, AMD_FMT_MOD_DCC_BLOCK_256B);
|
||||
uint64_t dcc_128B = AMD_FMT_MOD_SET(DCC, 1) |
|
||||
AMD_FMT_MOD_SET(DCC_MAX_COMPRESSED_BLOCK, AMD_FMT_MOD_DCC_BLOCK_128B);
|
||||
uint64_t dcc_64B = AMD_FMT_MOD_SET(DCC, 1) |
|
||||
AMD_FMT_MOD_SET(DCC_MAX_COMPRESSED_BLOCK, AMD_FMT_MOD_DCC_BLOCK_64B);
|
||||
|
||||
/* Modifiers must be sorted from best to worst. */
|
||||
ADD_MOD(mod_64K_2D | dcc_256B) /* 64K with DCC and 256B compressed blocks */
|
||||
ADD_MOD(mod_64K_2D | dcc_128B) /* 64K with DCC and 128B compressed blocks */
|
||||
ADD_MOD(mod_64K_2D | dcc_64B) /* 64K with DCC and 64B compressed blocks */
|
||||
ADD_MOD(mod_256K_2D | dcc_256B) /* OpenGL exported modifier */
|
||||
ADD_MOD(mod_4K_2D | dcc_256B) /* OpenGL exported modifier */
|
||||
ADD_MOD(mod_256B_2D | dcc_256B) /* OpenGL exported modifier */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue