ac/surface: Allow DCC for multi-plane formats on GFX12

Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33598>
This commit is contained in:
David Rosca
2025-02-07 16:26:10 +01:00
committed by Marge Bot
parent e9341be246
commit 6695eeaf42
+1 -2
View File
@@ -288,8 +288,7 @@ bool ac_is_modifier_supported(const struct radeon_info *info,
return false;
if (ac_modifier_has_dcc(modifier)) {
/* TODO: support multi-planar formats with DCC */
if (util_format_get_num_planes(format) > 1)
if (info->gfx_level < GFX12 && util_format_get_num_planes(format) > 1)
return false;
if (!info->has_graphics)