Skip to content

Commit

Permalink
And the AMD image transition fun (Thanks AMD!)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpjudas committed Sep 8, 2024
1 parent b2040a0 commit f8f4ef5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common/rendering/vulkan/vk_postprocess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}

Expand Down

0 comments on commit f8f4ef5

Please sign in to comment.