this way any barriers occuring from unbinds won't have to do rp calc
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21906>
zink_batch_rp(ctx);
ctx->queries_disabled = queries_disabled;
}
+ /* need to ensure we start a new rp on next draw */
+ zink_batch_no_rp_safe(ctx);
for (int i = 0; i < ctx->fb_state.nr_cbufs; i++) {
struct pipe_surface *psurf = ctx->fb_state.cbufs[i];
if (i < state->nr_cbufs)
}
ctx->gfx_pipeline_state.rast_samples = rast_samples;
- /* need to ensure we start a new rp on next draw */
- zink_batch_no_rp_safe(ctx);
/* this is an ideal time to oom flush since it won't split a renderpass */
if (ctx->oom_flush)
flush_batch(ctx, false);