Module: Mesa
Branch: main
Commit: c1b916ccb9318c0b32822df99fd13a2c7e1c4b6c
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c1b916ccb9318c0b32822df99fd13a2c7e1c4b6c

Author: Samuel Pitoiset <[email protected]>
Date:   Wed Sep 27 17:20:01 2023 +0200

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 <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25435>

---

 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 e069275f975..1fedc8d7406 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);
 }

Reply via email to