radv: enable DCC for MSAA 2x textures on VI under an option

Graphics / Mesa 3D Graphics Library / Mesa - Samuel Pitoiset [gmail.com] - 19 April 2018 07:10 EDT

This can be enabled with RADV_PERFTEST=dccmsaa.

DCC for MSAA textures is actually not as easy to implement. It looks like there is some corner cases. I will improve support incrementally.

Vega support, as well as Polaris improvements, will be added later.

No CTS changes on Polaris using RADV_DEBUG=zerovram and RADV_PERFTEST=dccmsaa.

2f63b3dd09 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 | 6 +++++-
src/amd/vulkan/radv_private.h | 3 +++
4 files changed, 13 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share