mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- fix Queue is signaling semaphore that has not been waited on by any queue
This commit is contained in:
parent
d1e4b86b9e
commit
401a4944b4
1 changed files with 3 additions and 1 deletions
|
@ -217,7 +217,9 @@ void VulkanFrameBuffer::FlushCommands(VulkanCommandBuffer **commands, size_t cou
|
||||||
submit.addSignal(mRenderFinishedSemaphore.get());
|
submit.addSignal(mRenderFinishedSemaphore.get());
|
||||||
}
|
}
|
||||||
|
|
||||||
submit.addSignal(mSubmitSemaphore[currentIndex].get());
|
if (!finish)
|
||||||
|
submit.addSignal(mSubmitSemaphore[currentIndex].get());
|
||||||
|
|
||||||
submit.execute(device, device->graphicsQueue, mSubmitFence[currentIndex].get());
|
submit.execute(device, device->graphicsQueue, mSubmitFence[currentIndex].get());
|
||||||
mNextSubmit++;
|
mNextSubmit++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue