radv: implement fast color clear for DCC with MSAA
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 17 Apr 2018 14:05:14 +0000 (16:05 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 19 Apr 2018 07:10:45 +0000 (09:10 +0200)
commit255506c4e04bfa5490d98a748aa248189a213ad6
tree2811e5b1f320502bdc61e8476c14f6b8e197937f
parent796b6f4aab46924f9954c9b2a9821b4706618cab
radv: implement fast color clear for DCC with MSAA

When DCC is enabled with MSAA textures, CMASK should be
cleared to 0xCCCCCCCC.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_meta_clear.c