Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25276>
if (pipeline->bandwidth.valid)
cmd->state.bandwidth = pipeline->bandwidth;
+ cmd->state.pipeline_bandwidth = pipeline->bandwidth.valid;
struct tu_cs *cs = &cmd->draw_cs;
bool stencil_back_write;
bool pipeline_feedback_loop_ds;
- bool pipeline_blend_lrz;
+ bool pipeline_blend_lrz, pipeline_bandwidth;
uint32_t pipeline_draw_states;
/* VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT and
}
if (EMIT_STATE(bandwidth) ||
((cmd->state.dirty & TU_CMD_DIRTY_SUBPASS) &&
- !cmd->state.pipeline->base.bandwidth.valid))
+ !cmd->state.pipeline_bandwidth))
tu_calc_bandwidth(&cmd->state.bandwidth, &cmd->vk.dynamic_graphics_state.cb,
&cmd->state.vk_rp);
DRAW_STATE(blend_constants, VK_DYNAMIC_STATE_BLEND_CONSTANTS,