f29f656530
The Vulkan Specification states about possible return values from vkAcquireNextImageKHR: * VK_NOT_READY is returned if timeout is zero and no image was available. * VK_TIMEOUT is returned if timeout is greater than zero and less than UINT64_MAX, and no image beae available within the time allowed. That is, if info->timeout is larger than zero, the function must return VK_TIMEOUT instead of VK_NOT_READY if no image became available before the timeout elapsed. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21190>