To set the state of an event to signaled from a device, call:
// Provided by VK_VERSION_1_0 void vkCmdSetEvent( VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags stageMask);
When vkCmdSetEvent is submitted to a queue, it defines an execution dependency on commands that were submitted before it, and defines an event signal operation which sets the event to the signaled state.
The first synchronization scope
includes all commands that occur earlier in
The synchronization scope is limited to operations on the pipeline stages
determined by the source stage
mask specified by
The second synchronization scope includes only the event signal operation.
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.