Lines Matching refs:blend
259 panfrost_blend_constant_mask(const struct pipe_rt_blend_state *blend) in panfrost_blend_constant_mask() argument
261 return panfrost_blend_factor_constant_mask(blend->rgb_src_factor) | in panfrost_blend_constant_mask()
262 panfrost_blend_factor_constant_mask(blend->rgb_dst_factor) | in panfrost_blend_constant_mask()
263 panfrost_blend_factor_constant_mask(blend->alpha_src_factor) | in panfrost_blend_constant_mask()
264 panfrost_blend_factor_constant_mask(blend->alpha_dst_factor); in panfrost_blend_constant_mask()
274 panfrost_make_fixed_blend_mode(const struct pipe_rt_blend_state blend, in panfrost_make_fixed_blend_mode() argument
279 if (!blend.blend_enable) { in panfrost_make_fixed_blend_mode()
280 equation->color_mask = blend.colormask; in panfrost_make_fixed_blend_mode()
291 if (!to_panfrost_function(blend.rgb_func, blend.rgb_src_factor, in panfrost_make_fixed_blend_mode()
292 blend.rgb_dst_factor, in panfrost_make_fixed_blend_mode()
296 if (!to_panfrost_function(blend.alpha_func, blend.alpha_src_factor, in panfrost_make_fixed_blend_mode()
297 blend.alpha_dst_factor, in panfrost_make_fixed_blend_mode()
301 equation->color_mask = blend.colormask; in panfrost_make_fixed_blend_mode()