diff --git a/intern/ghost/intern/GHOST_ContextVK.cc b/intern/ghost/intern/GHOST_ContextVK.cc index bf14f32aba1..6f1e3767c06 100644 --- a/intern/ghost/intern/GHOST_ContextVK.cc +++ b/intern/ghost/intern/GHOST_ContextVK.cc @@ -712,8 +712,8 @@ static GHOST_TSuccess create_render_pass(VkDevice device, colorAttachment.storeOp = VK_ATTACHMENT_STORE_OP_STORE; colorAttachment.stencilLoadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE; colorAttachment.stencilStoreOp = VK_ATTACHMENT_STORE_OP_DONT_CARE; - colorAttachment.initialLayout = VK_IMAGE_LAYOUT_UNDEFINED; - colorAttachment.finalLayout = VK_IMAGE_LAYOUT_PRESENT_SRC_KHR; + colorAttachment.initialLayout = VK_IMAGE_LAYOUT_GENERAL; + colorAttachment.finalLayout = VK_IMAGE_LAYOUT_GENERAL; VkAttachmentReference colorAttachmentRef = {}; colorAttachmentRef.attachment = 0;