summaryrefslogtreecommitdiffstats
path: root/src/vulkan/meta.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-05-20 15:11:21 -0700
committerJason Ekstrand <[email protected]>2015-05-20 16:20:04 -0700
commit13719e92254d055b560bdb1ec8c5e36ae856db99 (patch)
tree79411185bcc6ce6409e9459a5c452b722f823cb4 /src/vulkan/meta.c
parentd7044a19b1e607defc5c85389d2ed26f5c226e8c (diff)
vk/meta: Fix buffer copy extents
Diffstat (limited to 'src/vulkan/meta.c')
-rw-r--r--src/vulkan/meta.c4
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);