Skip to content

zink: retry AcquireNextImageKHR if it fails with VK_TIMEOUT or VK_NOT_READY

Clearing the timeout lead to a regression (crash) with

  • spec@ext_framebuffer_blit@fbo-blit-check-limits

because here AcquireNextImageKHR returns with VK_NOT_READY or VK_TIMEOUT. Retry with a gradually increasing timeout until we hit a limit. Reaching this limit is considered unreachable, i.e. we will crash.

Fixes: d1cac5ed0566ed02f1a522cc690ab5cda1880ec0
    zink: acquire - maybe clear timeout after waiting for presentation fence
Edited by Gert Wollny

Merge request reports