I am submitting work to a queue with a fence, but the fence is never signalled, and I don’t understand why/how this is possible. VkQueueSubmit is returning VK_SUCCESS and the submitted work is being done.
- WaitForFence (UINT64_MAX timeout) (Fence was created at startup with signalled flag)
- Build CommandBuffer
- vkQueueSubmit with Fence.
When the program returns back to step 1 (on the next frame) WaitForFence hangs (I’m assuming because the fence is unsignalled).
Note: The queue is also used elsewhere (but never with this fence).