mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 08:50:09 +01:00
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:
parent
7c423a7ad0
commit
ced20893d4
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue