mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 18:08:40 +02:00
zink: restore previous semaphore (prev_sem) handling
this was accidentally lost during refactoring Fixes:fa36a16c68("zink: make timeline semaphores per-screen") Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10421> (cherry picked from commit67d22bd8e0)
This commit is contained in:
parent
a693bc1b99
commit
246c6ec7ab
2 changed files with 2 additions and 1 deletions
|
|
@ -418,7 +418,7 @@
|
|||
"description": "zink: restore previous semaphore (prev_sem) handling",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "fa36a16c68489c7a8a7223c39fb0078f7d745bcb"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1349,6 +1349,7 @@ zink_screen_init_semaphore(struct zink_screen *screen)
|
|||
*/
|
||||
if (screen->prev_sem)
|
||||
vkDestroySemaphore(screen->dev, screen->prev_sem, NULL);
|
||||
screen->prev_sem = screen->sem;
|
||||
screen->sem = sem;
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue