From b269f59ec56f8d596b8aacfc2981dd032cd8a0d6 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Fri, 20 Aug 2021 08:56:10 +0200 Subject: [PATCH] radv: enable comp-to-single for MSAA images This allows fast clears for concurrent MSAA images. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen Part-of: --- src/amd/vulkan/radv_image.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/amd/vulkan/radv_image.c b/src/amd/vulkan/radv_image.c index 664882a..7e75649 100644 --- a/src/amd/vulkan/radv_image.c +++ b/src/amd/vulkan/radv_image.c @@ -1449,10 +1449,6 @@ radv_image_use_comp_to_single(const struct radv_device *device, const struct rad if (!radv_image_has_dcc(image)) return false; - /* TODO: DCC fast clears with MSAA aren't fully supported. */ - if (image->info.samples > 1) - return false; - /* It seems 8bpp and 16bpp require RB+ to work. */ unsigned bytes_per_pixel = vk_format_get_blocksize(image->vk_format); if (bytes_per_pixel <= 2 && !device->physical_device->rad_info.rbplus_allowed) -- 2.7.4