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 e6735409ee ("radv: disable DCC with signedness reinterpretation
on GFX11"). I also tested Sonic Frontiers which has been fixed since
52b6886992 ("amd: update addrlib"). I didn't check Hogwarts Legacy but
I think it was also fixed by e6735409ee.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25435>
This commit is contained in:
Samuel Pitoiset 2023-09-27 17:20:01 +02:00 committed by Marge Bot
parent 80a1896539
commit c1b916ccb9

View file

@ -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);
}