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:
committed by
Marge Bot
parent
2304078261
commit
52dfe1e955
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user