docs: Should vkWaitSemaphores()
list synchronization scopes and exclude access scopes?
#2463
Labels
vkWaitSemaphores()
list synchronization scopes and exclude access scopes?
#2463
When reading the synchronization chapter, host write ordering guarantees (i.e. access scopes) for queue submits are clarified.
vkWaitForFences()
only defines synchronization scopes, but no access scopes. This is expected, because a note is included that precludes any memory order:Note
Signaling a fence and waiting on the host does not guarantee that the results of memory accesses will be visible to the host, as the access scope of a memory dependency defined by a fence only includes device access. A memory barrier or other memory dependency must be used to guarantee this. See the description of host access types for more information.
For
vkSignalSemaphore()
, only synchronization scopes are listed, but such a note on memory order appears to be missing.Finally,
vkWaitSemaphores()
is entirely missing synchronization scopes, as well as a note on memory ordering: I assume excludes any memory ordering guarantees likevkWaitForFences()
?On a separate note, documentation pages like this are slightly hard to read when the last paragraph for one command like
vkWaitSemaphores()
flows directly into the first paragraph (description) of the next command likevkSignalSemaphore()
without a clear separator like a horizontal line. Is that something that can be added?The text was updated successfully, but these errors were encountered: