Commit 7a09be81 authored by Mike Blumenkrantz's avatar Mike Blumenkrantz 🏋
Browse files

zink: use internal api for first-frame fence

parent 3bc9f0a4
Pipeline #278260 waiting for manual action with stages
in 10 seconds
......@@ -1386,9 +1386,7 @@ zink_flush(struct pipe_context *pctx,
if (flags & PIPE_FLUSH_END_OF_FRAME) {
if (!ctx->first_frame)
pctx->screen->fence_finish(pctx->screen, pctx,
(struct pipe_fence_handle *)batch->fence,
PIPE_TIMEOUT_INFINITE);
zink_fence_finish(zink_screen(pctx->screen), pctx, batch->fence, PIPE_TIMEOUT_INFINITE);
ctx->first_frame = true;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment