From e51c4f1ba9015b50b498d77e34c2767cb368c711 Mon Sep 17 00:00:00 2001 From: Paul Gruenbacher Date: Fri, 5 Jan 2024 17:58:09 -0600 Subject: [PATCH] add back in levelCount 1 to readback --- src/renderer_vk.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/renderer_vk.cpp b/src/renderer_vk.cpp index 34de5c40f..e2b56b5dd 100644 --- a/src/renderer_vk.cpp +++ b/src/renderer_vk.cpp @@ -5629,6 +5629,9 @@ VK_DESTROY , _layout , VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL , _mip + , 1 + , 0 + , VK_REMAINING_ARRAY_LAYERS ); VkBufferImageCopy bic; @@ -5665,6 +5668,9 @@ VK_DESTROY , VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL , _layout , _mip + , 1 + , 0 + , VK_REMAINING_ARRAY_LAYERS ); }