Semaphores a submission must wait on, with the stages that wait applies to. More...
#include "donner/gpu/vulkan/VulkanSwapchain.h"
Public Member Functions | |
| bool | empty () const |
| Whether there is nothing to wait on. | |
Public Attributes | |
| std::vector< VkSemaphore > | semaphores |
| Semaphores to wait on. | |
| std::vector< VkPipelineStageFlags > | stages |
| Stage each wait applies to, index-matched. | |
Semaphores a submission must wait on, with the stages that wait applies to.
A frame comes back from the presentation engine before the engine has necessarily finished reading it, so the first submission that writes the frame waits here rather than assuming the image is free.