radv: disable DCC for mipmaps on GFX11
It seems broken but can't really figure out why and DCC levels aren't interleaved on GFX11. Skipping DCC initialization for levels seems to also fix it but seems safer to disable completely, as a hotfix. Fixes DCC issues with Hi-Fi Rush, Sonic Frontiers, Hogwarts Legacy and probably more. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8230 Cc: mesa-stable Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21186>
This commit is contained in:
committed by
Marge Bot
parent
6cbc90df48
commit
5d41d8258a
@@ -288,6 +288,10 @@ 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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user