vulkan/wsi: error out when image fence doesn't signal
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 12 Dec 2019 15:51:26 +0000 (17:51 +0200)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 16 Dec 2019 12:59:10 +0000 (14:59 +0200)
commitbc36160ccb07a662b2cfd7f0dec56e9c3f4f5aff
treebe94b109706a7ccc4671608ddaf0b13d8736417d
parentc05619328888f006b960f7e39dd70801e539debc
vulkan/wsi: error out when image fence doesn't signal

If for some reason the fence associated with an image doesn't signal,
we're likely in a device lost scenario, we should report that error.

We can't really wait for a given amount of time because we could get a
timeout and that is not a valid error to report for vkQueuePresentKHR,
so just wait forever.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/830
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/vulkan/wsi/wsi_common.c