radv: initialize the DCC predicate correctly when it's compressed
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 16 Aug 2018 10:33:13 +0000 (12:33 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 16 Aug 2018 12:11:51 +0000 (14:11 +0200)
commitf9e8456c39136aa41f85f82758a00e5aa2aab334
tree8abe5c5108d43eabdd99bc79bdde5e73a11d805a
parentf3a78a9da01218df0067b24b52204a4e5f01bc69
radv: initialize the DCC predicate correctly when it's compressed

We have to do a fast-clear eliminate when clearing DCC
metadata with 0x20202020. I don't know if that fixes anything
but that seems correct to me.

CC: 18.2 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_cmd_buffer.c