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 <nicolai.haehnle@amd.com>
This commit is contained in:
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user