From: Jason Ekstrand Date: Wed, 20 May 2015 22:11:21 +0000 (-0700) Subject: vk/meta: Fix buffer copy extents X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13719e92254d055b560bdb1ec8c5e36ae856db99;p=mesa.git vk/meta: Fix buffer copy extents --- 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);