radv: implement compressed FMASK texture reads with RADV_PERFTEST=tccompatcmask
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 14 Nov 2018 15:24:02 +0000 (16:24 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 19 Jun 2019 08:06:39 +0000 (10:06 +0200)
commite91c1ea06c56a45b6040b36e6ef32d0b126eebbc
tree93a4169491ea7c74e61dd02c3ddddf54910ac236
parenta7f75377aba6853e08561acb9609c5e262e4d9a6
radv: implement compressed FMASK texture reads with RADV_PERFTEST=tccompatcmask

This allows us to disable the FMASK decompress pass when
transitioning from CB writes to shader reads.

This will likely be improved and enabled by default in the future.

No CTS regressions on GFX8 but a few number of multisample CTS
failures on GFX9 (they look related to the small hint).

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_debug.h
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_image.c
src/amd/vulkan/radv_meta.h
src/amd/vulkan/radv_meta_fast_clear.c
src/amd/vulkan/radv_private.h