mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-29 22:20:48 +00:00
vk: Allow flipping without wait
This commit is contained in:
parent
e3944bc67f
commit
0b18ec8208
@ -760,8 +760,12 @@ namespace vk
|
|||||||
present.swapchainCount = 1;
|
present.swapchainCount = 1;
|
||||||
present.pSwapchains = &m_vk_swapchain;
|
present.pSwapchains = &m_vk_swapchain;
|
||||||
present.pImageIndices = ℑ
|
present.pImageIndices = ℑ
|
||||||
present.waitSemaphoreCount = 1;
|
|
||||||
present.pWaitSemaphores = &semaphore;
|
if (semaphore != VK_NULL_HANDLE)
|
||||||
|
{
|
||||||
|
present.waitSemaphoreCount = 1;
|
||||||
|
present.pWaitSemaphores = &semaphore;
|
||||||
|
}
|
||||||
|
|
||||||
return _vkQueuePresentKHR(dev.get_present_queue(), &present);
|
return _vkQueuePresentKHR(dev.get_present_queue(), &present);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user