mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 08:58:02 +02:00
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> (cherry picked from commitc1ce1889db)
This commit is contained in:
parent
93561a98b1
commit
bc26f1c4ee
2 changed files with 2 additions and 2 deletions
|
|
@ -616,7 +616,7 @@
|
|||
"description": "zink: fix kopper_acquire return value",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "ab1941fc0e990d10e050d6e8a75fc1fa9fb75456"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue