[VK] Change barrier to transfer in present manager
All checks were successful
eden-license / license-header (pull_request) Successful in 38s
All checks were successful
eden-license / license-header (pull_request) Successful in 38s
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?)
This commit is contained in:
parent
cda6958111
commit
8ba10cda26
1 changed files with 2 additions and 2 deletions
|
@ -470,8 +470,8 @@ void PresentManager::CopyToSwapchainImpl(Frame* frame) {
|
||||||
const std::array wait_semaphores = {present_semaphore, *frame->render_ready};
|
const std::array wait_semaphores = {present_semaphore, *frame->render_ready};
|
||||||
|
|
||||||
static constexpr std::array<VkPipelineStageFlags, 2> wait_stage_masks{
|
static constexpr std::array<VkPipelineStageFlags, 2> wait_stage_masks{
|
||||||
VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT,
|
VK_PIPELINE_STAGE_TRANSFER_BIT,
|
||||||
VK_PIPELINE_STAGE_ALL_COMMANDS_BIT,
|
VK_PIPELINE_STAGE_TRANSFER_BIT,
|
||||||
};
|
};
|
||||||
|
|
||||||
const VkSubmitInfo submit_info{
|
const VkSubmitInfo submit_info{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue