From f8f4ef5cbbd61d996e4bd262cc7a459d9518ab0f Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Sun, 8 Sep 2024 22:29:41 +0200 Subject: [PATCH] And the AMD image transition fun (Thanks AMD!) --- src/common/rendering/vulkan/vk_postprocess.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/rendering/vulkan/vk_postprocess.cpp b/src/common/rendering/vulkan/vk_postprocess.cpp index 22ba1fea0..199698c7f 100644 --- a/src/common/rendering/vulkan/vk_postprocess.cpp +++ b/src/common/rendering/vulkan/vk_postprocess.cpp @@ -146,6 +146,7 @@ void VkPostprocess::ImageTransitionScene(bool undefinedSrcLayout) .AddImage(&buffers->SceneFog, VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, undefinedSrcLayout) .AddImage(&buffers->SceneNormal, VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, undefinedSrcLayout) .AddImage(&buffers->SceneDepthStencil, VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL, undefinedSrcLayout) + .AddImage(&buffers->SceneLinearDepth, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, undefinedSrcLayout) .Execute(fb->GetCommands()->GetDrawCommands()); }