'What is the first synchronization scope of vkCmdWaitEvents?
In 7.5, the Vulkan spec says about vkCmdWaitEvents
The first synchronization scope only includes event signal operations that operate on members of
pEvents, and the operations that happened-before the event signal operations. Event signal operations performed byvkCmdSetEventthat occur earlier in submission order are included in the first synchronization scope, if the logically latest pipeline stage in theirstageMaskparameter is logically earlier than or equal to the logically latest pipeline stage insrcStageMask.
I'm confused by this phrasing. Does this mean the first synchronization scope is the signalling of events that are passed in to pEvents, plus any events that are submitted earlier and meet the stage mask and submission order requirement, or is it event signals are both passed in and meet the requirement?
In either case, since you can just pass in events with pEvents, what is srcStageMask is useful for?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
