Home
last modified time | relevance | path

Searched refs:rgb_src (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_composite.c47 unsigned rgb_src : 8; /**< PIPE_BLENDFACTOR_x */ member
137 blend->rgb_src = xa_convert_blend_for_luminance(blend->rgb_src); in blend_for_op()
147 if (blend->rgb_src == PIPE_BLENDFACTOR_DST_ALPHA) in blend_for_op()
148 blend->rgb_src = PIPE_BLENDFACTOR_ONE; in blend_for_op()
149 else if (blend->rgb_src == PIPE_BLENDFACTOR_INV_DST_ALPHA) in blend_for_op()
150 blend->rgb_src = PIPE_BLENDFACTOR_ZERO; in blend_for_op()
246 if (blend.alpha_src && blend.rgb_src != PIPE_BLENDFACTOR_ZERO) { in xa_composite_check_accelerated()
270 blend.rt[0].rgb_src_factor = blend_opt.rgb_src; in bind_composite_blend_state()
271 blend.rt[0].alpha_src_factor = blend_opt.rgb_src; in bind_composite_blend_state()
/external/mesa3d/src/gallium/drivers/ilo/core/
Dilo_state_cc.c263 (is_dual_source_blend_factor(blend->rt[0].rgb_src) || in cc_get_gen6_dual_source_blending()
296 (is_dual_source_blend_factor(blend->rt[i].rgb_src) || in cc_get_gen6_dual_source_blending()
463 assert(rt->rgb_src && rt->rgb_dst && rt->a_src && rt->a_dst); in cc_get_gen6_effective_rt()
466 dst->rgb_src = get_dst_alpha_one_blend_factor(rt->rgb_src, true); in cc_get_gen6_effective_rt()
473 dst->rgb_src = GEN6_BLENDFACTOR_ONE; in cc_get_gen6_effective_rt()
476 dst->a_src = dst->rgb_src; in cc_get_gen6_effective_rt()
554 rt.rgb_src << GEN6_RT_DW0_SRC_COLOR_FACTOR__SHIFT | in cc_set_gen6_BLEND_STATE()
560 if (rt.a_src != rt.rgb_src || in cc_set_gen6_BLEND_STATE()
609 dw0 = rt.rgb_src << GEN8_RT_DW0_SRC_COLOR_FACTOR__SHIFT | in cc_set_gen8_BLEND_STATE()
620 if (rt.a_src != rt.rgb_src || in cc_set_gen8_BLEND_STATE()
[all …]
Dilo_state_cc.h112 enum gen_blend_factor rgb_src; member
/external/mesa3d/src/gallium/drivers/ilo/
Dilo_state.c890 rt_info->rgb_src = ilo_translate_blend_factor(rt->rgb_src_factor); in ilo_create_blend_state()