diff options
Diffstat (limited to 'src/amd/common/ac_surface.c')
-rw-r--r-- | src/amd/common/ac_surface.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/amd/common/ac_surface.c b/src/amd/common/ac_surface.c index 51e15d07d3c..877d592ab81 100644 --- a/src/amd/common/ac_surface.c +++ b/src/amd/common/ac_surface.c @@ -331,10 +331,9 @@ static int gfx6_compute_level(ADDR_HANDLE addrlib, /* TC-compatible HTILE. */ if (!is_stencil && AddrSurfInfoIn->flags.depth && - AddrSurfInfoIn->flags.tcCompatible && surf_level->mode == RADEON_SURF_MODE_2D && level == 0) { - AddrHtileIn->flags.tcCompatible = 1; + AddrHtileIn->flags.tcCompatible = AddrSurfInfoIn->flags.tcCompatible; AddrHtileIn->pitch = AddrSurfInfoOut->pitch; AddrHtileIn->height = AddrSurfInfoOut->height; AddrHtileIn->numSlices = AddrSurfInfoOut->depth; |