From c1b916ccb9318c0b32822df99fd13a2c7e1c4b6c Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Wed, 27 Sep 2023 17:20:01 +0200 Subject: [PATCH] radv: re-enable DCC with mipmaps on GFX11 This is now fixed. Hi-Fi Rush, Sonic Frontiers and Hogwarts Legacy were known broken games. I personally reproduced the issue with Hi-Fi Rush which has been fixed since e6735409eef ("radv: disable DCC with signedness reinterpretation on GFX11"). I also tested Sonic Frontiers which has been fixed since 52b68869922 ("amd: update addrlib"). I didn't check Hogwarts Legacy but I think it was also fixed by e6735409eef. Signed-off-by: Samuel Pitoiset 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 e069275..1fedc8d 100644 --- a/src/amd/vulkan/radv_image.c +++ b/src/amd/vulkan/radv_image.c @@ -277,10 +277,6 @@ radv_use_dcc_for_image_early(struct radv_device *device, struct radv_image *imag if (pCreateInfo->samples > 1 && !device->physical_device->use_fmask) return false; - /* FIXME: DCC with mipmaps is broken on GFX11. */ - if (device->physical_device->rad_info.gfx_level == GFX11 && pCreateInfo->mipLevels > 1) - return false; - return radv_are_formats_dcc_compatible(device->physical_device, pCreateInfo->pNext, format, pCreateInfo->flags, sign_reinterpret); } -- 2.7.4