radv: add radv_decompress_resolve_{subpass}_src() helpers
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 11 Apr 2018 12:09:16 +0000 (14:09 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 12 Apr 2018 07:58:44 +0000 (09:58 +0200)
commitab0e625a671d19bb6a736d663bbc6fa5fd9ecd06
tree50b5dc10ab0b81bf5988f4ba63be3d292a935c31
parented93d90a67d31fc396e64d566e2ac58e2994a4e3
radv: add radv_decompress_resolve_{subpass}_src() helpers

This helper shares common code before resolving using either
a fragment or a compute shader.

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