mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
Revert "zink: always force flushes when originating from api frontend"
This reverts commit03f049f497. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27560> (cherry picked from commit097e543c0a)
This commit is contained in:
parent
1528c6f524
commit
a9c5611b49
2 changed files with 2 additions and 3 deletions
|
|
@ -7184,7 +7184,7 @@
|
|||
"description": "Revert \"zink: always force flushes when originating from api frontend\"",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "03f049f49730b8b1268f2975fc34ac2b1f9a4ef9",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -3863,8 +3863,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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue