Lines Matching refs:equation

117       options.rt[rt].colormask = rt_state->equation.color_mask;
119 if (!rt_state->equation.blend_enable) {
131 options.rt[rt].rgb.func = rt_state->equation.rgb_func;
132 options.rt[rt].rgb.src_factor = rt_state->equation.rgb_src_factor;
133 options.rt[rt].rgb.invert_src_factor = rt_state->equation.rgb_invert_src_factor;
134 options.rt[rt].rgb.dst_factor = rt_state->equation.rgb_dst_factor;
135 options.rt[rt].rgb.invert_dst_factor = rt_state->equation.rgb_invert_dst_factor;
136 options.rt[rt].alpha.func = rt_state->equation.alpha_func;
137 options.rt[rt].alpha.src_factor = rt_state->equation.alpha_src_factor;
138 options.rt[rt].alpha.invert_src_factor = rt_state->equation.alpha_invert_src_factor;
139 options.rt[rt].alpha.dst_factor = rt_state->equation.alpha_dst_factor;
140 options.rt[rt].alpha.invert_dst_factor = rt_state->equation.alpha_invert_dst_factor;
143 /* Update the equation to force a color replacement */
144 rt_state->equation.color_mask = 0xf;
145 rt_state->equation.rgb_func = BLEND_FUNC_ADD;
146 rt_state->equation.rgb_src_factor = BLEND_FACTOR_ZERO;
147 rt_state->equation.rgb_invert_src_factor = true;
148 rt_state->equation.rgb_dst_factor = BLEND_FACTOR_ZERO;
149 rt_state->equation.rgb_invert_dst_factor = false;
150 rt_state->equation.alpha_func = BLEND_FUNC_ADD;
151 rt_state->equation.alpha_src_factor = BLEND_FACTOR_ZERO;
152 rt_state->equation.alpha_invert_src_factor = true;
153 rt_state->equation.alpha_dst_factor = BLEND_FACTOR_ZERO;
154 rt_state->equation.alpha_invert_dst_factor = false;