zink: fix return for zink_kopper_acquire

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16038>
This commit is contained in:
Mike Blumenkrantz 2022-04-19 10:51:36 -04:00
parent 8ac563d157
commit 7decf4056e

View file

@ -518,7 +518,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