Lines Matching defs:rt0
42 const struct pipe_rt_blend_state *rt0 = &so->rt[0];
63 alpha_enable = rt0->blend_enable &&
64 !(rt0->rgb_src_factor == PIPE_BLENDFACTOR_ONE &&
65 rt0->rgb_dst_factor == PIPE_BLENDFACTOR_ZERO &&
66 rt0->rgb_func == PIPE_BLEND_ADD &&
67 rt0->alpha_src_factor == PIPE_BLENDFACTOR_ONE &&
68 rt0->alpha_dst_factor == PIPE_BLENDFACTOR_ZERO &&
69 rt0->alpha_func == PIPE_BLEND_ADD);
77 !(rt0->rgb_src_factor == rt0->alpha_src_factor &&
78 rt0->rgb_dst_factor == rt0->alpha_dst_factor &&
79 rt0->rgb_func == rt0->alpha_func);
85 VIVS_PE_ALPHA_CONFIG_SRC_FUNC_COLOR(translate_blend_factor(rt0->rgb_src_factor)) |
86 VIVS_PE_ALPHA_CONFIG_SRC_FUNC_ALPHA(translate_blend_factor(rt0->alpha_src_factor)) |
87 VIVS_PE_ALPHA_CONFIG_DST_FUNC_COLOR(translate_blend_factor(rt0->rgb_dst_factor)) |
88 VIVS_PE_ALPHA_CONFIG_DST_FUNC_ALPHA(translate_blend_factor(rt0->alpha_dst_factor)) |
89 VIVS_PE_ALPHA_CONFIG_EQ_COLOR(rt0->rgb_func) |
90 VIVS_PE_ALPHA_CONFIG_EQ_ALPHA(rt0->alpha_func);
130 const struct pipe_rt_blend_state *rt0 = &pblend->rt[0];
136 colormask = rt0->colormask & (PIPE_MASK_A | PIPE_MASK_G);
137 if (rt0->colormask & PIPE_MASK_R)
139 if (rt0->colormask & PIPE_MASK_B)
142 colormask = rt0->colormask;