Lines Matching refs:dsa_state
112 const struct pipe_depth_stencil_alpha_state *dsa_state) in virgl_encode_dsa_state() argument
119 tmp = VIRGL_OBJ_DSA_S0_DEPTH_ENABLE(dsa_state->depth.enabled) | in virgl_encode_dsa_state()
120 VIRGL_OBJ_DSA_S0_DEPTH_WRITEMASK(dsa_state->depth.writemask) | in virgl_encode_dsa_state()
121 VIRGL_OBJ_DSA_S0_DEPTH_FUNC(dsa_state->depth.func) | in virgl_encode_dsa_state()
122 VIRGL_OBJ_DSA_S0_ALPHA_ENABLED(dsa_state->alpha.enabled) | in virgl_encode_dsa_state()
123 VIRGL_OBJ_DSA_S0_ALPHA_FUNC(dsa_state->alpha.func); in virgl_encode_dsa_state()
127 tmp = VIRGL_OBJ_DSA_S1_STENCIL_ENABLED(dsa_state->stencil[i].enabled) | in virgl_encode_dsa_state()
128 VIRGL_OBJ_DSA_S1_STENCIL_FUNC(dsa_state->stencil[i].func) | in virgl_encode_dsa_state()
129 VIRGL_OBJ_DSA_S1_STENCIL_FAIL_OP(dsa_state->stencil[i].fail_op) | in virgl_encode_dsa_state()
130 VIRGL_OBJ_DSA_S1_STENCIL_ZPASS_OP(dsa_state->stencil[i].zpass_op) | in virgl_encode_dsa_state()
131 VIRGL_OBJ_DSA_S1_STENCIL_ZFAIL_OP(dsa_state->stencil[i].zfail_op) | in virgl_encode_dsa_state()
132 VIRGL_OBJ_DSA_S1_STENCIL_VALUEMASK(dsa_state->stencil[i].valuemask) | in virgl_encode_dsa_state()
133 VIRGL_OBJ_DSA_S1_STENCIL_WRITEMASK(dsa_state->stencil[i].writemask); in virgl_encode_dsa_state()
137 virgl_encoder_write_dword(ctx->cbuf, fui(dsa_state->alpha.ref_value)); in virgl_encode_dsa_state()