Lines Matching defs:blend
600 unreachable("Unsupported blend shader type for NIR alu type");
609 const struct pan_blend_state *blend = &pipeline->blend.state;
610 const struct pan_blend_rt_state *rts = &blend->rts[rt];
614 if (!blend->rt_count || !rts->equation.color_mask) {
621 cfg.load_destination = pan_blend_reads_dest(blend->rts[rt].equation);
631 pan_blend_to_fixed_function_equation(blend->rts[rt].equation,
636 pan_blend_get_constant(pan_blend_constant_mask(blend->rts[rt].equation),
637 blend->constants);
642 if (pan_blend_is_opaque(blend->rts[rt].equation)) {
648 pan_blend_alpha_zero_nop(blend->rts[rt].equation);
650 pan_blend_alpha_one_store(blend->rts[rt].equation);
660 bifrost_blend_type_from_nir(pipeline->fs.info.bifrost.blend[rt].type);
671 float constant = constants[pipeline->blend.constant[rt].index];
675 cfg.constant = constant * pipeline->blend.constant[rt].bifrost_factor;
725 !pipeline->blend.reads_dest;