Home | History | Annotate | Download | only in state_tracker

Lines Matching defs:depth_stencil

252    /* depth_stencil state: always pass/set to ref value */
254 struct pipe_depth_stencil_alpha_state depth_stencil;
255 memset(&depth_stencil, 0, sizeof(depth_stencil));
257 depth_stencil.depth.enabled = 1;
258 depth_stencil.depth.writemask = 1;
259 depth_stencil.depth.func = PIPE_FUNC_ALWAYS;
265 depth_stencil.stencil[0].enabled = 1;
266 depth_stencil.stencil[0].func = PIPE_FUNC_ALWAYS;
267 depth_stencil.stencil[0].fail_op = PIPE_STENCIL_OP_REPLACE;
268 depth_stencil.stencil[0].zpass_op = PIPE_STENCIL_OP_REPLACE;
269 depth_stencil.stencil[0].zfail_op = PIPE_STENCIL_OP_REPLACE;
270 depth_stencil.stencil[0].valuemask = 0xff;
271 depth_stencil.stencil[0].writemask = ctx->Stencil.WriteMask[0] & 0xff;
276 cso_set_depth_stencil_alpha(st->cso_context, &depth_stencil);