Lines Matching refs:blend_state
75 const struct pipe_blend_state *blend_state) in virgl_encode_blend_state() argument
84 VIRGL_OBJ_BLEND_S0_INDEPENDENT_BLEND_ENABLE(blend_state->independent_blend_enable) | in virgl_encode_blend_state()
85 VIRGL_OBJ_BLEND_S0_LOGICOP_ENABLE(blend_state->logicop_enable) | in virgl_encode_blend_state()
86 VIRGL_OBJ_BLEND_S0_DITHER(blend_state->dither) | in virgl_encode_blend_state()
87 VIRGL_OBJ_BLEND_S0_ALPHA_TO_COVERAGE(blend_state->alpha_to_coverage) | in virgl_encode_blend_state()
88 VIRGL_OBJ_BLEND_S0_ALPHA_TO_ONE(blend_state->alpha_to_one); in virgl_encode_blend_state()
92 tmp = VIRGL_OBJ_BLEND_S1_LOGICOP_FUNC(blend_state->logicop_func); in virgl_encode_blend_state()
97 VIRGL_OBJ_BLEND_S2_RT_BLEND_ENABLE(blend_state->rt[i].blend_enable) | in virgl_encode_blend_state()
98 VIRGL_OBJ_BLEND_S2_RT_RGB_FUNC(blend_state->rt[i].rgb_func) | in virgl_encode_blend_state()
99 VIRGL_OBJ_BLEND_S2_RT_RGB_SRC_FACTOR(blend_state->rt[i].rgb_src_factor) | in virgl_encode_blend_state()
100 VIRGL_OBJ_BLEND_S2_RT_RGB_DST_FACTOR(blend_state->rt[i].rgb_dst_factor)| in virgl_encode_blend_state()
101 VIRGL_OBJ_BLEND_S2_RT_ALPHA_FUNC(blend_state->rt[i].alpha_func) | in virgl_encode_blend_state()
102 VIRGL_OBJ_BLEND_S2_RT_ALPHA_SRC_FACTOR(blend_state->rt[i].alpha_src_factor) | in virgl_encode_blend_state()
103 VIRGL_OBJ_BLEND_S2_RT_ALPHA_DST_FACTOR(blend_state->rt[i].alpha_dst_factor) | in virgl_encode_blend_state()
104 VIRGL_OBJ_BLEND_S2_RT_COLORMASK(blend_state->rt[i].colormask); in virgl_encode_blend_state()