Proprietary Qualcomm drivers will not like this change after further research. Co-authored-by: Ribbit <ribbit@placeholder.com> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2751 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Co-authored-by: Ribbit <ribbit@eden-emu.dev> Co-committed-by: Ribbit <ribbit@eden-emu.dev>
This commit is contained in:
parent
30482692c7
commit
bfc10723bc
1 changed files with 1 additions and 4 deletions
|
|
@ -114,11 +114,8 @@ VkResult MasterSemaphore::SubmitQueue(vk::CommandBuffer& cmdbuf, vk::CommandBuff
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Use precise wait stages instead of ALL_COMMANDS to avoid pipeline-wide stalls.
|
|
||||||
// First entry is used for external acquire waits; we wait at transfer and color output stages
|
|
||||||
// because this submit contains an upload cmd buffer and a render cmd buffer.
|
|
||||||
static constexpr std::array<VkPipelineStageFlags, 2> wait_stage_masks{
|
static constexpr std::array<VkPipelineStageFlags, 2> wait_stage_masks{
|
||||||
VK_PIPELINE_STAGE_TRANSFER_BIT | VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT,
|
VK_PIPELINE_STAGE_ALL_COMMANDS_BIT,
|
||||||
VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT,
|
VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue