radv: fix DCC fast clear code for intensity formats
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 11 Oct 2019 15:40:59 +0000 (17:40 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 14 Oct 2019 06:36:14 +0000 (08:36 +0200)
commitea92273cea88b964c6aec45061e74a9ff7339825
tree4bb353ed43d4c8138a5ce373cbd066944caa738c
parentebe176eeff75b76527fc99d0a0f88b48ab04d0d7
radv: fix DCC fast clear code for intensity formats

This fixes a rendering issue with DiRT 4 on GFX10. Only GFX10 was
affected because intensity formats are different.

Cc: 19.2 <mesa-stable@lists.freedesktop.org>
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/1923
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_image.c
src/amd/vulkan/radv_meta_clear.c
src/amd/vulkan/radv_private.h