radv: Add forcecompress debug flag.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 9 Aug 2020 22:10:38 +0000 (00:10 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 10 Aug 2020 16:24:38 +0000 (16:24 +0000)
commit2fa83dc64d7930a169cfabf0ec67c36b43dc0cab
tree961c0a2ad9401f76b9d6c6e7a388d144f3f8c38e
parenta777b25350cce0a97243405fa129eca386aecda2
radv: Add forcecompress debug flag.

Enables DCC/HTILE/CMASK/FMASK when supported, not just when we think
it is beneficial.

This is helpful to detect compression bugs with CTS.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6252>
docs/envvars.rst
src/amd/vulkan/radv_debug.h
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_image.c