diff options
author | Samuel Pitoiset <[email protected]> | 2018-10-24 08:50:26 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-10-26 10:50:08 +0200 |
commit | 79bbdf8e45f0961b800279afadb4bb74129d7034 (patch) | |
tree | 4fe82449480c1a7aaa5741335c6df41abf61c476 /src/amd/vulkan/radv_meta_copy.c | |
parent | 619824577558f9e3dd16bcbb7a04eefab565478d (diff) |
radv: implement image to image operations for R32G32B32
This should address the remaining failures in Batman Arkhman City.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107765
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_meta_copy.c')
-rw-r--r-- | src/amd/vulkan/radv_meta_copy.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_meta_copy.c b/src/amd/vulkan/radv_meta_copy.c index 41da302cf84..ddfb5c54673 100644 --- a/src/amd/vulkan/radv_meta_copy.c +++ b/src/amd/vulkan/radv_meta_copy.c @@ -482,10 +482,14 @@ meta_copy_image(struct radv_cmd_buffer *cmd_buffer, rect.src_y = src_offset_el.y; /* Perform Blit */ - if (cs) + if (cs || + (b_src.format == VK_FORMAT_R32G32B32_UINT || + b_src.format == VK_FORMAT_R32G32B32_SINT || + b_src.format == VK_FORMAT_R32G32B32_SFLOAT)) { radv_meta_image_to_image_cs(cmd_buffer, &b_src, &b_dst, 1, &rect); - else + } else { radv_meta_blit2d(cmd_buffer, &b_src, NULL, &b_dst, 1, &rect); + } b_src.layer++; b_dst.layer++; |