mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 15:58:05 +02:00
mesa/st: Pass the context to fence_finish as part of flush+wait
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40876>
This commit is contained in:
parent
6ffac15b31
commit
5bd3b51cb9
1 changed files with 1 additions and 1 deletions
|
|
@ -803,7 +803,7 @@ st_context_flush(struct st_context *st, unsigned flags,
|
|||
st_flush(st, fence, pipe_flags);
|
||||
|
||||
if ((flags & ST_FLUSH_WAIT) && fence && *fence) {
|
||||
st->screen->fence_finish(st->screen, NULL, *fence,
|
||||
st->screen->fence_finish(st->screen, st->pipe, *fence,
|
||||
OS_TIMEOUT_INFINITE);
|
||||
st->screen->fence_reference(st->screen, fence, NULL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue