Lines Matching refs:dsa
83 struct pipe_depth_stencil_alpha_state dsa; member
125 struct pipe_depth_stencil_alpha_state dsa; member
734 struct pipe_depth_stencil_alpha_state dsa; in renderer_scissor_begin() local
744 memset(&dsa, 0, sizeof(dsa)); in renderer_scissor_begin()
745 dsa.depth.enabled = 1; in renderer_scissor_begin()
746 dsa.depth.writemask = 1; in renderer_scissor_begin()
747 dsa.depth.func = PIPE_FUNC_ALWAYS; in renderer_scissor_begin()
748 cso_set_depth_stencil_alpha(renderer->cso, &dsa); in renderer_scissor_begin()
974 struct pipe_depth_stencil_alpha_state *dsa; in renderer_polygon_stencil_begin() local
989 dsa = &renderer->u.polygon_stencil.dsa; in renderer_polygon_stencil_begin()
990 memset(dsa, 0, sizeof(*dsa)); in renderer_polygon_stencil_begin()
992 dsa->stencil[0].enabled = 1; in renderer_polygon_stencil_begin()
993 dsa->stencil[0].writemask = 1; in renderer_polygon_stencil_begin()
994 dsa->stencil[0].fail_op = PIPE_STENCIL_OP_KEEP; in renderer_polygon_stencil_begin()
995 dsa->stencil[0].zfail_op = PIPE_STENCIL_OP_KEEP; in renderer_polygon_stencil_begin()
996 dsa->stencil[0].zpass_op = PIPE_STENCIL_OP_INVERT; in renderer_polygon_stencil_begin()
997 dsa->stencil[0].func = PIPE_FUNC_ALWAYS; in renderer_polygon_stencil_begin()
998 dsa->stencil[0].valuemask = ~0; in renderer_polygon_stencil_begin()
1004 dsa->stencil[0].enabled = 1; in renderer_polygon_stencil_begin()
1005 dsa->stencil[0].writemask = ~0; in renderer_polygon_stencil_begin()
1006 dsa->stencil[0].fail_op = PIPE_STENCIL_OP_KEEP; in renderer_polygon_stencil_begin()
1007 dsa->stencil[0].zfail_op = PIPE_STENCIL_OP_KEEP; in renderer_polygon_stencil_begin()
1008 dsa->stencil[0].zpass_op = PIPE_STENCIL_OP_INCR_WRAP; in renderer_polygon_stencil_begin()
1009 dsa->stencil[0].func = PIPE_FUNC_ALWAYS; in renderer_polygon_stencil_begin()
1010 dsa->stencil[0].valuemask = ~0; in renderer_polygon_stencil_begin()
1015 dsa->stencil[1] = dsa->stencil[0]; in renderer_polygon_stencil_begin()
1016 dsa->stencil[1].zpass_op = PIPE_STENCIL_OP_DECR_WRAP; in renderer_polygon_stencil_begin()
1022 cso_set_depth_stencil_alpha(renderer->cso, dsa); in renderer_polygon_stencil_begin()
1050 struct pipe_depth_stencil_alpha_state dsa; in renderer_polygon_stencil() local
1053 dsa = renderer->u.polygon_stencil.dsa; in renderer_polygon_stencil()
1057 dsa.stencil[0].zpass_op = PIPE_STENCIL_OP_INCR_WRAP; in renderer_polygon_stencil()
1060 cso_set_depth_stencil_alpha(renderer->cso, &dsa); in renderer_polygon_stencil()
1065 dsa.stencil[0].zpass_op = PIPE_STENCIL_OP_DECR_WRAP; in renderer_polygon_stencil()
1068 cso_set_depth_stencil_alpha(renderer->cso, &dsa); in renderer_polygon_stencil()
1100 struct pipe_depth_stencil_alpha_state dsa; in renderer_polygon_fill_begin() local
1108 memset(&dsa, 0, sizeof(dsa)); in renderer_polygon_fill_begin()
1109 dsa.stencil[0].enabled = 1; in renderer_polygon_fill_begin()
1110 dsa.stencil[0].func = PIPE_FUNC_NOTEQUAL; in renderer_polygon_fill_begin()
1111 dsa.stencil[0].fail_op = PIPE_STENCIL_OP_REPLACE; in renderer_polygon_fill_begin()
1112 dsa.stencil[0].zfail_op = PIPE_STENCIL_OP_REPLACE; in renderer_polygon_fill_begin()
1113 dsa.stencil[0].zpass_op = PIPE_STENCIL_OP_REPLACE; in renderer_polygon_fill_begin()
1114 dsa.stencil[0].valuemask = ~0; in renderer_polygon_fill_begin()
1115 dsa.stencil[0].writemask = ~0; in renderer_polygon_fill_begin()
1116 dsa.depth = renderer->g3d.dsa.depth; in renderer_polygon_fill_begin()
1117 cso_set_depth_stencil_alpha(renderer->cso, &dsa); in renderer_polygon_fill_begin()
1215 struct pipe_depth_stencil_alpha_state *dsa = &renderer->g3d.dsa; in update_clip_state() local
1217 memset(dsa, 0, sizeof(struct pipe_depth_stencil_alpha_state)); in update_clip_state()
1255 dsa->depth.enabled = 1; /* glEnable(GL_DEPTH_TEST); */ in update_clip_state()
1256 dsa->depth.writemask = 0;/*glDepthMask(FALSE);*/ in update_clip_state()
1257 dsa->depth.func = PIPE_FUNC_GEQUAL; in update_clip_state()
1365 cso_set_depth_stencil_alpha(renderer->cso, &renderer->g3d.dsa); in renderer_validate()