diff options
author | Samuel Pitoiset <[email protected]> | 2018-04-17 16:05:17 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-04-19 09:10:52 +0200 |
commit | dc3d39771ff561fe3e71aa0d08623e190ff496f9 (patch) | |
tree | dcd108e2d1153b7798c599ade5fe92ad0d0fe4df /src/amd/vulkan/radv_meta.h | |
parent | 1aefb62f1e85de379d6045f234f32bf6cb924a09 (diff) |
radv: decompress DCC for multisampled source images before resolving
Multisampled source images (ie. color attachments) can be now
DCC compressed, so the driver needs to perform a DCC decompression
pass before resolving
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_meta.h b/src/amd/vulkan/radv_meta.h index 47eec5cd6a0..4a9abae30ac 100644 --- a/src/amd/vulkan/radv_meta.h +++ b/src/amd/vulkan/radv_meta.h @@ -195,6 +195,7 @@ 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, + VkImageLayout src_image_layout, uint32_t region_count, const VkImageResolve *regions); |