radv: Implement displayable DCC retiling

Graphics / Mesa 3D Graphics Library / Mesa - Bas Nieuwenhuizen [basnieuwenhuizen.nl] - 23 February 2021 12:32 UTC

Straightforward implementation using the retile map from radeonsi.

54f3ed224d6 radv: Implement displayable DCC retiling.
src/amd/vulkan/Makefile.sources | 1 +
src/amd/vulkan/meson.build | 1 +
src/amd/vulkan/radv_cmd_buffer.c | 9 +
src/amd/vulkan/radv_meta.c | 9 +
src/amd/vulkan/radv_meta.h | 4 +
src/amd/vulkan/radv_meta_dcc_retile.c | 317 ++++++++++++++++++++++++++++++++++
src/amd/vulkan/radv_private.h | 6 +
7 files changed, 347 insertions(+)

Upstream: cgit.freedesktop.org


  • Share