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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user