zink: don't reset all batch states when stalling

this makes perf worse

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33848>
This commit is contained in:
Mike Blumenkrantz 2025-02-12 13:04:13 -05:00 committed by Marge Bot
parent 61b0955308
commit 4d0f79a398

View file

@ -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