Module: Mesa Branch: main Commit: 494d02eacfc8b4abc6cdd790ff74a4b053904b39 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=494d02eacfc8b4abc6cdd790ff74a4b053904b39
Author: Mike Blumenkrantz <[email protected]> Date: Tue Apr 19 10:51:36 2022 -0400 zink: fix return for zink_kopper_acquire Reviewed-by: Adam Jackson <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16038> --- src/gallium/drivers/zink/zink_kopper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/zink/zink_kopper.c b/src/gallium/drivers/zink/zink_kopper.c index f0992e9efc2..33de8bd17ea 100644 --- a/src/gallium/drivers/zink/zink_kopper.c +++ b/src/gallium/drivers/zink/zink_kopper.c @@ -534,7 +534,7 @@ zink_kopper_acquire(struct zink_context *ctx, struct zink_resource *res, uint64_ } else if (is_swapchain_kill(ret)) { kill_swapchain(ctx, res); } - return ret; + return !is_swapchain_kill(ret); } VkSemaphore
