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 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev