mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
zink: never try to oom flush during unsync texture upload
this is very broken
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33484>
(cherry picked from commit 52dfe1e955)
This commit is contained in:
parent
7bd126c0e6
commit
a917c1f0bf
2 changed files with 2 additions and 2 deletions
|
|
@ -144,7 +144,7 @@
|
|||
"description": "zink: never try to oom flush during unsync texture upload",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -4839,7 +4839,7 @@ zink_copy_image_buffer(struct zink_context *ctx, struct zink_resource *dst, stru
|
|||
zink_kopper_present_readback(ctx, img);
|
||||
}
|
||||
|
||||
if (ctx->oom_flush && !ctx->in_rp && !ctx->unordered_blitting)
|
||||
if (ctx->oom_flush && !ctx->in_rp && !ctx->unordered_blitting && !unsync)
|
||||
flush_batch(ctx, false);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue