When does vkQueuePresentKHR release acquired images?

Aperta
#2,842 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@cubanismo ci sta già lavorando.

Dal 27/10/2026.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
15/100
Tipo di issue
Documentazione
Chiarezza
Da chiarire
Stato di attività
Attiva
Ambito
documentation

Direzione di ricerca

This is a specification-language ambiguity in the Vulkan spec rather than a code fix. Read the vkQueuePresentKHR prose about image release, the CTS test expecting VK_ERROR_PRESENT_TIMING_QUEUE_FULL_EXT to leave images acquired, and the related semaphore-consumption language. Resolving it requires writing a spec clarification proposal and building consensus among spec editors — done looks like agreed wording in the specification, not a patch.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Specification System Integration

vkQueuePresentKHR says

vkQueuePresentKHR releases the acquisition of the images referenced by pImageIndices.

Which seems to say that any call to this function releases the images, even if the call fails. However, this is not how it is implemented in mesa and the CTS contains a test case where it assumes that a VK_ERROR_PRESENT_TIMING_QUEUE_FULL_EXT return value leaves the image acquired.

Keeping the images acquired in this case seems troublesome since VK_ERROR_PRESENT_TIMING_QUEUE_FULL_EXT requires the presentation engine to consume the semaphores. Meaning that the application no longer has any semaphores to pass into the next vkQueuePresentKHR call and the presentation engine is not required to wait for the queue to drain, only for the passed in semaphores.

Lingua principale
JavaScript
Stelle
3.4k
Fork
555
Merge medio
3g 10h
PR unite (30g)
5

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di KhronosGroup/Vulkan-Docs

Tutte le issue di KhronosGroup/Vulkan-Docs

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.