diff options
author | Marek Olšák <[email protected]> | 2016-11-11 21:19:34 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-11-21 21:44:35 +0100 |
commit | 79a8e674aef8d50e79f5d4ab25e0f951d1c69398 (patch) | |
tree | 0edd1790f67b7580120a80bcd44ca157b8c38f53 | |
parent | 72d1669ed2e943998324db48068936351cf9f9c1 (diff) |
winsys/amdgpu: set addrlib flag opt4Space
Tested-by: Edmondo Tommasina <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
-rw-r--r-- | src/gallium/winsys/amdgpu/drm/amdgpu_surface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_surface.c b/src/gallium/winsys/amdgpu/drm/amdgpu_surface.c index d8ab28b36fd..08989b5cf53 100644 --- a/src/gallium/winsys/amdgpu/drm/amdgpu_surface.c +++ b/src/gallium/winsys/amdgpu/drm/amdgpu_surface.c @@ -405,6 +405,7 @@ static int amdgpu_surface_init(struct radeon_winsys *rws, !AddrSurfInfoIn.flags.fmask && tex->nr_samples <= 1 && (flags & RADEON_SURF_OPTIMIZE_FOR_SPACE); + AddrSurfInfoIn.flags.opt4Space = AddrSurfInfoIn.flags.degrade4Space; /* DCC notes: * - If we add MSAA support, keep in mind that CB can't decompress 8bpp |