radeonsi/gfx11: enable arbitrary DCC format reinterpretation

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16328>
This commit is contained in:
Marek Olšák 2021-05-06 21:04:19 -04:00 committed by Marge Bot
parent 7c423a7ad0
commit ced20893d4

View file

@ -1991,6 +1991,10 @@ bool vi_dcc_formats_compatible(struct si_screen *sscreen, enum pipe_format forma
{
const struct util_format_description *desc1, *desc2;
/* All formats are compatible on GFX11. */
if (sscreen->info.chip_class >= GFX11)
return true;
/* No format change - exit early. */
if (format1 == format2)
return true;