radv: add radv_clear_{cmask,dcc} helpers
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 6 Apr 2018 10:22:02 +0000 (12:22 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 9 Apr 2018 09:21:05 +0000 (11:21 +0200)
commitf882c62218fdb184c57e65b9d84b6214d8eef156
treed9e8ae3d2bb27f9b75c3f7f5bc097ffb6f623c7b
parentd899826733b1f6614c913c1c216f8157bf9e297d
radv: add radv_clear_{cmask,dcc} helpers

They will help for DCC MSAA textures and if we support mipmaps
in the future.

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_meta.h
src/amd/vulkan/radv_meta_clear.c
src/amd/vulkan/radv_meta_fast_clear.c