[VK] Change barrier to transfer in present manager #315

Merged
Shinmegumi merged 1 commit from presentmanagerchanges into master 2025-09-20 17:52:40 +02:00
Showing only changes of commit fe3e7b177d - Show all commits

View file

@ -470,8 +470,8 @@ void PresentManager::CopyToSwapchainImpl(Frame* frame) {
const std::array wait_semaphores = {present_semaphore, *frame->render_ready};
static constexpr std::array<VkPipelineStageFlags, 2> wait_stage_masks{
VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT,
VK_PIPELINE_STAGE_ALL_COMMANDS_BIT,
VK_PIPELINE_STAGE_TRANSFER_BIT,
VK_PIPELINE_STAGE_TRANSFER_BIT,
};
const VkSubmitInfo submit_info{