zink: handle swapchain acquire failures more directly
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 19 Apr 2022 14:57:30 +0000 (10:57 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 27 Apr 2022 21:50:16 +0000 (21:50 +0000)
commit625457caafb3c68e753bf26dc99e065428c45b31
treed695efc5dfdf5bc1bbf1a4c4048c39a7cbd03b4d
parent494d02eacfc8b4abc6cdd790ff74a4b053904b39
zink: handle swapchain acquire failures more directly

if acquire fails, the pending operation cannot be completed, so just
drop it

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16038>
src/gallium/drivers/zink/zink_blit.c
src/gallium/drivers/zink/zink_clear.c
src/gallium/drivers/zink/zink_context.c
src/gallium/drivers/zink/zink_draw.cpp