Revert "zink: always force flushes when originating from api frontend"

This reverts commit 03f049f497.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27560>
This commit is contained in:
Konstantin Seurer
2024-02-11 16:09:06 +01:00
committed by Marge Bot
parent aed5e4e1f2
commit 097e543c0a

View File

@@ -3857,8 +3857,7 @@ zink_flush(struct pipe_context *pctx,
}
}
/* TODO: if swapchains gain timeline semaphore semantics, `flags` can be eliminated and no-op fence can return timeline id */
if (!batch->has_work && flags) {
if (!batch->has_work) {
if (pfence) {
/* reuse last fence */
fence = ctx->last_fence;