vkQueueSubmit: Are SignalSemaphores and Fence Synchronized?

Is it guaranteed that all pSignalSemaphores of the vkSubmitInfo
are already in SIGNALED state once the vkQueueSubmit fence was signaled?

So basically are the signal semaphores and the fence set to SIGNALED in an atomic fashion?

Or could the fence be signaled before the signal semaphore(s) are signaled?

Clarification is very appreciated!

The standard is pretty clear these days about synchronization scopes. For fences:

The first synchronization scope includes every batch submitted in the same queue submission command.

Semaphore signal operations are part of batches. So they are included in the scope.

Thank you Alfonse for the clarification! :+1:

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.