Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
12032de1a6 [VK] Change barrier to transfer in present manager
There is no Color_attachment happening here only transfer operation and hence the gpu should only wait for transfer not color_attachment_output_bit(may fix async presentation?)
2025-09-01 15:30:12 +02:00

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{