zink: fix kopper_acquire return value

this should be a VkResult

Fixes: ab1941fc0e ("zink: handle zombie swapchains")

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17149>
This commit is contained in:
Mike Blumenkrantz
2022-06-20 12:29:19 -04:00
committed by Marge Bot
parent 24be011901
commit c1ce1889db

View File

@@ -450,7 +450,7 @@ kopper_acquire(struct zink_screen *screen, struct zink_resource *res, uint64_t t
{
struct kopper_displaytarget *cdt = kopper_displaytarget(res->obj->dt);
if (res->obj->acquire)
return true;
return VK_SUCCESS;
res->obj->acquire = VK_NULL_HANDLE;
VkSemaphore acquire = VK_NULL_HANDLE;