zink: propagate rp_tc_info_updated across unordered blits
this otherwise breaks rp optimizing
Fixes: 3a9f7d7038 ("zink: implement unordered u_blitter calls")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25121>
This commit is contained in:
committed by
Marge Bot
parent
12cdd546be
commit
267b997abf
@@ -409,6 +409,7 @@ zink_blit(struct pipe_context *pctx,
|
||||
bool queries_disabled = ctx->queries_disabled;
|
||||
bool rp_changed = ctx->rp_changed || (!ctx->fb_state.zsbuf && util_format_is_depth_or_stencil(info->dst.format));
|
||||
unsigned ds3_states = ctx->ds3_states;
|
||||
bool rp_tc_info_updated = ctx->rp_tc_info_updated;
|
||||
if (ctx->unordered_blitting) {
|
||||
/* for unordered blit, swap the unordered cmdbuf for the main one for the whole op to avoid conditional hell */
|
||||
ctx->batch.state->cmdbuf = ctx->batch.state->barrier_cmdbuf;
|
||||
@@ -458,6 +459,7 @@ zink_blit(struct pipe_context *pctx,
|
||||
ctx->batch.in_rp = in_rp;
|
||||
ctx->gfx_pipeline_state.rp_state = zink_update_rendering_info(ctx);
|
||||
ctx->rp_changed = rp_changed;
|
||||
ctx->rp_tc_info_updated |= rp_tc_info_updated;
|
||||
ctx->queries_disabled = queries_disabled;
|
||||
ctx->dynamic_fb.tc_info.data = tc_data;
|
||||
ctx->batch.state->cmdbuf = cmdbuf;
|
||||
|
||||
Reference in New Issue
Block a user