From 7ccecf20964667596105447c1ce77b8c9bbac770 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Thu, 29 Apr 2021 13:32:13 +0200 Subject: [PATCH] radv: enable DCC fast-clears with comp-to-single on GFX10+ Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen Part-of: --- src/amd/vulkan/radv_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_image.c b/src/amd/vulkan/radv_image.c index 9d370f7..66e187e 100644 --- a/src/amd/vulkan/radv_image.c +++ b/src/amd/vulkan/radv_image.c @@ -1590,7 +1590,7 @@ radv_image_use_comp_to_single(const struct radv_device *device, const struct rad if (bytes_per_pixel <= 2 && !device->physical_device->rad_info.rbplus_allowed) return false; - return false; /* TODO: will be enabled in a next commit. */ + return true; } static uint64_t -- 2.7.4