diff options
author | Jason Ekstrand <[email protected]> | 2015-05-20 15:11:21 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-05-20 16:20:04 -0700 |
commit | 13719e92254d055b560bdb1ec8c5e36ae856db99 (patch) | |
tree | 79411185bcc6ce6409e9459a5c452b722f823cb4 /src/vulkan/meta.c | |
parent | d7044a19b1e607defc5c85389d2ed26f5c226e8c (diff) |
vk/meta: Fix buffer copy extents
Diffstat (limited to 'src/vulkan/meta.c')
-rw-r--r-- | src/vulkan/meta.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vulkan/meta.c b/src/vulkan/meta.c index 979655cb482..f1524f9db28 100644 --- a/src/vulkan/meta.c +++ b/src/vulkan/meta.c @@ -711,10 +711,10 @@ void anv_CmdCopyBuffer( meta_emit_blit(cmd_buffer, &src_view, (VkOffset3D) { 0, 0, 0 }, - (VkExtent3D) { pRegions[r].copySize, 0, 0 }, + (VkExtent3D) { pRegions[r].copySize, 1, 1 }, &dest_view, (VkOffset3D) { 0, 0, 0 }, - (VkExtent3D) { pRegions[r].copySize, 0, 0 }); + (VkExtent3D) { pRegions[r].copySize, 1, 1 }); } meta_finish_blit(cmd_buffer, &saved_state); |