-
Notifications
You must be signed in to change notification settings - Fork 508
Open
Labels
Description
I notice some more suspicious swapchain RFC keyword usage:
The possible return values for
vkGetSwapchainStatusKHRshould be interpreted as follows:
The "should" feels odd here and colloquial. Should be refrazed in the form of what the implementation must return.
If a counter is not available because the swapchain is out of date, the implementation may return
VK_ERROR_OUT_OF_DATE_KHR.
"may" feels suspicious here. Posibly supposed to be "must".
As usual,
vkQueuePresentKHRmay fail ifoldSwapchainhas entered a state that causesVK_ERROR_OUT_OF_DATE_KHRto be returned.
The "may" is weird, because tautologically if VK_ERROR_OUT_OF_DATE_KHR is returned, then it did fail.