From: Marek Olšák Date: Thu, 30 Nov 2017 01:14:18 +0000 (+0100) Subject: ac/surface: always compute DCC info when DCC is possible on GFX9 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=186adc514b820dd736cc680a6cf058b7fbb31ebf;p=mesa.git ac/surface: always compute DCC info when DCC is possible on GFX9 The same code for VI doesn't check for scanout either. Reviewed-by: Nicolai Hähnle --- diff --git a/src/amd/common/ac_surface.c b/src/amd/common/ac_surface.c index 8347c45508f..590920ee2b6 100644 --- a/src/amd/common/ac_surface.c +++ b/src/amd/common/ac_surface.c @@ -925,7 +925,6 @@ static int gfx9_compute_miptree(ADDR_HANDLE addrlib, } else { /* DCC */ if (!(surf->flags & RADEON_SURF_DISABLE_DCC) && - !(surf->flags & RADEON_SURF_SCANOUT) && !compressed && in->swizzleMode != ADDR_SW_LINEAR) { ADDR2_COMPUTE_DCCINFO_INPUT din = {0};