Lines Matching defs:state
419 * state. Assumes the equation can be represented as fixed-function. */
601 const struct pan_blend_state *state,
606 const struct pan_blend_rt_state *rt_state = &state->rts[rt];
617 state->logicop_enable ? "logicop" : "equation",
618 state->logicop_enable ?
619 logicop_str(state->logicop_func) : equation_str);
627 .logicop_enable = state->logicop_enable,
628 .logicop_func = state->logicop_func,
701 (void *) state->constants);
766 const struct pan_blend_state *state,
772 .format = state->rts[rt].format,
776 .has_constants = pan_blend_constant_mask(state->rts[rt].equation) != 0,
777 .logicop_enable = state->logicop_enable,
778 .logicop_func = state->logicop_func,
779 .nr_samples = state->rts[rt].nr_samples,
780 .equation = state->rts[rt].equation,
796 !memcmp(iter->constants, state->constants, sizeof(iter->constants))) {
815 memcpy(variant->constants, state->constants, sizeof(variant->constants));
818 GENX(pan_blend_create_shader)(dev, state, src0_type, src1_type, rt);