From 13719e92254d055b560bdb1ec8c5e36ae856db99 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 20 May 2015 15:11:21 -0700 Subject: vk/meta: Fix buffer copy extents --- src/vulkan/meta.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vulkan/meta.c') 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); -- cgit v1.2.3