diff options
author | Samuel Pitoiset <[email protected]> | 2018-04-11 14:09:16 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-04-12 09:58:44 +0200 |
commit | ab0e625a671d19bb6a736d663bbc6fa5fd9ecd06 (patch) | |
tree | 50b5dc10ab0b81bf5988f4ba63be3d292a935c31 /src/amd/vulkan/radv_meta.h | |
parent | ed93d90a67d31fc396e64d566e2ac58e2994a4e3 (diff) |
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 <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_meta.h')
-rw-r--r-- | src/amd/vulkan/radv_meta.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_meta.h b/src/amd/vulkan/radv_meta.h index 57b76c13262..47eec5cd6a0 100644 --- a/src/amd/vulkan/radv_meta.h +++ b/src/amd/vulkan/radv_meta.h @@ -191,6 +191,13 @@ void radv_meta_resolve_fragment_image(struct radv_cmd_buffer *cmd_buffer, uint32_t region_count, const VkImageResolve *regions); +void radv_decompress_resolve_subpass_src(struct radv_cmd_buffer *cmd_buffer); + +void radv_decompress_resolve_src(struct radv_cmd_buffer *cmd_buffer, + struct radv_image *src_image, + uint32_t region_count, + const VkImageResolve *regions); + void radv_blit_to_prime_linear(struct radv_cmd_buffer *cmd_buffer, struct radv_image *image, struct radv_image *linear_image); |