summaryrefslogtreecommitdiffstats
path: root/src/vulkan/meta.c
diff options
context:
space:
mode:
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);