Home
last modified time | relevance | path

Searched refs:rgb_dst (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_composite.c48 unsigned rgb_dst : 8; /**< PIPE_BLENDFACTOR_x */ member
136 blend->rgb_dst = xa_convert_blend_for_luminance(blend->rgb_dst); in blend_for_op()
159 if (blend->rgb_dst == PIPE_BLENDFACTOR_SRC_ALPHA) { in blend_for_op()
160 blend->rgb_dst = PIPE_BLENDFACTOR_SRC_COLOR; in blend_for_op()
161 } else if (blend->rgb_dst == PIPE_BLENDFACTOR_INV_SRC_ALPHA) { in blend_for_op()
162 blend->rgb_dst = PIPE_BLENDFACTOR_INV_SRC_COLOR; in blend_for_op()
270 blend.rt[0].rgb_dst_factor = blend_opt.rgb_dst; in bind_composite_blend_state()
271 blend.rt[0].alpha_dst_factor = blend_opt.rgb_dst; in bind_composite_blend_state()
/external/mesa3d/src/gallium/state_trackers/xorg/
Dxorg_composite.c21 unsigned rgb_dst : 8; /**< PIPE_BLENDFACTOR_x */ member
104 if (blend->rgb_dst == PIPE_BLENDFACTOR_SRC_ALPHA) { in blend_for_op()
105 blend->rgb_dst = PIPE_BLENDFACTOR_SRC_COLOR; in blend_for_op()
106 } else if (blend->rgb_dst == PIPE_BLENDFACTOR_INV_SRC_ALPHA) { in blend_for_op()
107 blend->rgb_dst = PIPE_BLENDFACTOR_INV_SRC_COLOR; in blend_for_op()
226 blend.rt[0].rgb_dst_factor = blend_opt.rgb_dst; in bind_blend_state()
227 blend.rt[0].alpha_dst_factor = blend_opt.rgb_dst; in bind_blend_state()