mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 19:30:12 +01:00
ac/surface: don't expose modifiers with DCC retiling if radeon_info forbids it
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22771>
This commit is contained in:
parent
ce64300676
commit
e4c8ac5aae
1 changed files with 2 additions and 1 deletions
|
|
@ -239,7 +239,8 @@ bool ac_is_modifier_supported(const struct radeon_info *info,
|
|||
if (!options->dcc)
|
||||
return false;
|
||||
|
||||
if (ac_modifier_has_dcc_retile(modifier) && !options->dcc_retile)
|
||||
if (ac_modifier_has_dcc_retile(modifier) &&
|
||||
(!info->use_display_dcc_with_retile_blit || !options->dcc_retile))
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue