Lines Matching defs:state
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++) {
362 VkDynamicState state = dynamic_info->pDynamicStates[i];
363 switch (state) {
365 pipeline->dynamic_state_mask |= 1 << state;
368 unreachable("unsupported dynamic state");
508 const struct pan_blend_state *state,
512 if (state->logicop_enable)
516 if (!panfrost_blendable_formats_v7[state->rts[rt].format].internal)
519 unsigned constant_mask = pan_blend_constant_mask(state->rts[rt].equation);
528 if (!pan_blend_is_homogenous_constant(constant_mask, state->constants))
532 return !pan_blend_can_fixed_function(state->rts[rt].equation, supports_2src);
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];
575 panvk_per_arch(blend_needs_lowering)(pdev, &pipeline->blend.state, i) ?
710 const struct pan_blend_state *blend = &pipeline->blend.state;