winsys/amdgpu: enable DCC for mipmapped textures

Graphics / Mesa 3D Graphics Library / Mesa - Marek Olšák [amd.com] - 7 June 2016 17:22 UTC

Also add dcc_fast_clear_size for clearing only the necessary subset of DCC. For no AA, it's equal to the size of the whole DCC level.

0038910 winsys/amdgpu: enable DCC for mipmapped textures
src/gallium/drivers/radeon/r600_texture.c | 10 +++++---
src/gallium/drivers/radeon/radeon_winsys.h | 1 +
src/gallium/winsys/amdgpu/drm/amdgpu_surface.c | 29 +++++++++++++++++++-----
3 files changed, 31 insertions(+), 9 deletions(-)

Upstream: cgit.freedesktop.org


  • Share