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>
This commit is contained in:
Mike Blumenkrantz 2025-02-10 14:38:03 -05:00 committed by Marge Bot
parent 2304078261
commit 52dfe1e955

View file

@ -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);
}