[Mesa-dev] [PATCH 0/5] radv: DCC for MSAA textures, part 1

Samuel Pitoiset samuel.pitoiset at gmail.com
Tue Apr 17 14:05:13 UTC 2018


Hi,

This series adds partial support for DCC with MSAA textures. Currently,
only 2x samples are supported and only on VI. This is because 4x and 8x
samples currently fail. It's actually more complicated than expected but
I think it's better to merge the code incrementally.

DCC for MSAA textures can be enabled with RADV_PERFTEST=dccmsaa.

No CTS changes both with/without that option.

I will improve the support step by step.

Please review,
Thanks!

Samuel Pitoiset (5):
  radv: implement fast color clear for DCC with MSAA
  radv: allocate CMASK for DCC fast clear with MSAA
  radv: add a workaround for fast clears with DCC and MSAA textures
  radv: decompress DCC for multisampled source images before resolving
  radv: enable DCC for MSAA 2x textures on VI under an option

 src/amd/vulkan/radv_debug.h           |  1 +
 src/amd/vulkan/radv_device.c          |  4 ++++
 src/amd/vulkan/radv_image.c           | 13 ++++++++++++-
 src/amd/vulkan/radv_meta.h            |  1 +
 src/amd/vulkan/radv_meta_clear.c      | 26 +++++++++++++++++++++++++-
 src/amd/vulkan/radv_meta_resolve.c    | 17 +++++++++++++++--
 src/amd/vulkan/radv_meta_resolve_cs.c |  2 +-
 src/amd/vulkan/radv_meta_resolve_fs.c |  2 +-
 src/amd/vulkan/radv_private.h         |  3 +++
 9 files changed, 63 insertions(+), 6 deletions(-)

-- 
2.17.0



More information about the mesa-dev mailing list