Searched refs:rt_state (Results 1 – 2 of 2) sorted by relevance
435 get_equation_str(const struct pan_blend_rt_state *rt_state, in get_equation_str() argument448 if (!rt_state->equation.blend_enable) { in get_equation_str()454 if (rt_state->equation.color_mask & 7) { in get_equation_str()455 assert(rt_state->equation.rgb_func < ARRAY_SIZE(funcs)); in get_equation_str()456 assert(rt_state->equation.rgb_src_factor < ARRAY_SIZE(factors)); in get_equation_str()457 assert(rt_state->equation.rgb_dst_factor < ARRAY_SIZE(factors)); in get_equation_str()459 (rt_state->equation.color_mask & 1) ? "R" : "", in get_equation_str()460 (rt_state->equation.color_mask & 2) ? "G" : "", in get_equation_str()461 (rt_state->equation.color_mask & 4) ? "B" : "", in get_equation_str()462 funcs[rt_state->equation.rgb_func], in get_equation_str()[all …]
329 struct pan_blend_rt_state *rt_state = &blend_state->rts[rt]; in panvk_lower_blend() local334 enum pipe_format fmt = rt_state->format; in panvk_lower_blend()337 options.rt[rt].colormask = rt_state->equation.color_mask; in panvk_lower_blend()339 if (!rt_state->equation.blend_enable) { in panvk_lower_blend()351 options.rt[rt].rgb.func = rt_state->equation.rgb_func; in panvk_lower_blend()352 options.rt[rt].rgb.src_factor = rt_state->equation.rgb_src_factor; in panvk_lower_blend()353 options.rt[rt].rgb.invert_src_factor = rt_state->equation.rgb_invert_src_factor; in panvk_lower_blend()354 options.rt[rt].rgb.dst_factor = rt_state->equation.rgb_dst_factor; in panvk_lower_blend()355 options.rt[rt].rgb.invert_dst_factor = rt_state->equation.rgb_invert_dst_factor; in panvk_lower_blend()356 options.rt[rt].alpha.func = rt_state->equation.alpha_func; in panvk_lower_blend()[all …]