Lines Matching refs:blend
139 &pipeline->blend.state,
220 bo_size += pan_size(BLEND) * MAX2(pipeline->blend.state.rt_count, 1);
304 for (unsigned rt = 0; rt < pipeline->blend.state.rt_count; rt++) {
312 for (unsigned rt = 0; rt < MAX2(pipeline->blend.state.rt_count, 1); rt++) {
314 &pipeline->blend.bd_template[rt]);
443 default: unreachable("Invalid blend op");
480 default: unreachable("Invalid blend factor");
511 /* LogicOp requires a blend shader */
521 /* v6 doesn't support blend constants in FF blend equations.
540 pipeline->blend.state.logicop_enable =
542 pipeline->blend.state.logicop_func =
544 pipeline->blend.state.rt_count = util_last_bit(builder->active_color_attachments);
545 memcpy(pipeline->blend.state.constants,
547 sizeof(pipeline->blend.state.constants));
549 for (unsigned i = 0; i < pipeline->blend.state.rt_count; i++) {
552 struct pan_blend_rt_state *out = &pipeline->blend.state.rts[i];
572 pipeline->blend.reads_dest |= pan_blend_reads_dest(out->equation);
575 panvk_per_arch(blend_needs_lowering)(pdev, &pipeline->blend.state, i) ?
577 pipeline->blend.constant[i].index = ffs(constant_mask) - 1;
579 /* On Bifrost, the blend constant is expressed with a UNORM of the
591 pipeline->blend.constant[i].bifrost_factor =
710 const struct pan_blend_state *blend = &pipeline->blend.state;
711 for (unsigned i = 0; i < blend->rt_count; ++i) {
712 if (blend->rts[i].equation.color_mask)