Skip to content

Mark fences and semaphores as already signalled in AcquireNextImage

The VK_KHR_external_[fence|semaphore]_fd extensions allow sync primitives to be signalled without the use of QueueSubmit. Using these extensions in AcquireNextImage instead of using QueueSubmit offers two advantages: (1) there is no waiting for work to complete in the queue before the primitives are signalled and (2) there is no data race if the application happens to call QueueSubmit on the same queue at the same time.

The QueueSubmit method of signalling sync primitives continues to be used for ICDs that do not support the external FD extensions.

Signed-off-by: David Harvey-Macaulay david.harvey-macaulay@arm.com Change-Id: Ib4a922d44430110e2353a4e0221e27017e72abab

Merge request reports