From 4d0f79a3989aff8ec98c74687d83b8e2f79b3c81 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 12 Feb 2025 13:04:13 -0500 Subject: [PATCH] zink: don't reset all batch states when stalling this makes perf worse Part-of: --- src/gallium/drivers/zink/zink_context.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gallium/drivers/zink/zink_context.c b/src/gallium/drivers/zink/zink_context.c index 276482fab42..c052c116736 100644 --- a/src/gallium/drivers/zink/zink_context.c +++ b/src/gallium/drivers/zink/zink_context.c @@ -3517,7 +3517,6 @@ stall(struct zink_context *ctx) struct zink_screen *screen = zink_screen(ctx->base.screen); sync_flush(ctx, ctx->last_batch_state); zink_screen_timeline_wait(screen, ctx->last_batch_state->fence.batch_id, OS_TIMEOUT_INFINITE); - zink_batch_reset_all(ctx); } void