MTLCommandBuffer addCompletedHandler Ordering

Are there any guarantees about the order in which completion handlers run?

  • Do completion handlers added to the same command buffer run in the order they were added?
  • Do completion handlers added to different command buffers on the same queue run in the order their command buffers were enqueued?
MTLCommandBuffer addCompletedHandler Ordering
 
 
Q