mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
Vulkan submit: If submit-type is FinishFrame, always trigger the fence.
Should fix #19277
This commit is contained in:
parent
cfcca0ed13
commit
2c257e2628
@ -208,10 +208,11 @@ void FrameData::Submit(VulkanContext *vulkan, FrameSubmitType type, FrameDataSha
|
||||
|
||||
cmdBufs[numCmdBufs++] = presentCmd;
|
||||
hasPresentCommands = false;
|
||||
}
|
||||
|
||||
if (type == FrameSubmitType::FinishFrame) {
|
||||
fenceToTrigger = fence;
|
||||
}
|
||||
if (type == FrameSubmitType::FinishFrame) {
|
||||
_dbg_assert_(!fenceToTrigger);
|
||||
fenceToTrigger = fence;
|
||||
}
|
||||
|
||||
if (!numCmdBufs && fenceToTrigger == VK_NULL_HANDLE) {
|
||||
|
Loading…
Reference in New Issue
Block a user