[Mesa-dev] [PATCH 0/8] radv: preliminary work for DCC and mipmaps
Samuel Pitoiset
samuel.pitoiset at gmail.com
Mon Jun 17 10:44:12 UTC 2019
Hi,
This series is a prerequisite before enabling DCC for mipmapped color textures.
It basically allocates more metadata space and it adds mipmap support for color
decompressions on graphics and compute.
DCC for mipmaps is still disabled by default but I should be able to
enable it soon for GFX8. GFX9 requires more work.
Please review,
Thanks!
Samuel Pitoiset (8):
radv: allocate DCC metadata for each mip
radv: store the fast color clear values for each mip
radv: store the FCE predicate for each mip
radv: store the DCC predicate for each mip
radv: load the fast color clear values from the base level
radv: set the DCC/FCE predicates from the base level
radv: add mipmaps support for color decompressions (DCC/FMASK/CMASK)
radv: add mipmaps support for DCC decompression on compute
src/amd/vulkan/radv_cmd_buffer.c | 110 +++++---
src/amd/vulkan/radv_image.c | 8 +-
src/amd/vulkan/radv_meta.h | 3 +-
src/amd/vulkan/radv_meta_clear.c | 19 +-
src/amd/vulkan/radv_meta_fast_clear.c | 345 ++++++++++++++------------
src/amd/vulkan/radv_meta_resolve.c | 24 +-
src/amd/vulkan/radv_private.h | 39 ++-
7 files changed, 338 insertions(+), 210 deletions(-)
--
2.22.0
More information about the mesa-dev
mailing list