From 52dfe1e955101163eab10de462f0b71fe5999804 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 10 Feb 2025 14:38:03 -0500 Subject: [PATCH] zink: never try to oom flush during unsync texture upload this is very broken cc: mesa-stable Part-of: --- src/gallium/drivers/zink/zink_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/zink/zink_context.c b/src/gallium/drivers/zink/zink_context.c index d51e1891131..ee441813021 100644 --- a/src/gallium/drivers/zink/zink_context.c +++ b/src/gallium/drivers/zink/zink_context.c @@ -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); }