diff --git a/src/gallium/drivers/zink/zink_context.c b/src/gallium/drivers/zink/zink_context.c index 46fc5a832eb..74905004f4a 100644 --- a/src/gallium/drivers/zink/zink_context.c +++ b/src/gallium/drivers/zink/zink_context.c @@ -3178,8 +3178,6 @@ flush_batch(struct zink_context *ctx, bool sync) if (ctx->clears_enabled) /* start rp to do all the clears */ zink_batch_rp(ctx); - bool conditional_render_active = ctx->render_condition.active; - zink_stop_conditional_render(ctx); zink_batch_no_rp_safe(ctx); zink_end_batch(ctx, batch); ctx->deferred_fence = NULL; @@ -3209,8 +3207,6 @@ flush_batch(struct zink_context *ctx, bool sync) VKCTX(CmdSetPatchControlPointsEXT)(ctx->batch.state->barrier_cmdbuf, 1); } update_feedback_loop_dynamic_state(ctx); - if (conditional_render_active) - zink_start_conditional_render(ctx); reapply_color_write(ctx); update_layered_rendering_state(ctx); tc_renderpass_info_reset(&ctx->dynamic_fb.tc_info);