Lines Matching defs:depth_stencil
243 /* depth_stencil state: always pass/set to ref value */
245 struct pipe_depth_stencil_alpha_state depth_stencil;
246 memset(&depth_stencil, 0, sizeof(depth_stencil));
248 depth_stencil.depth.enabled = 1;
249 depth_stencil.depth.writemask = 1;
250 depth_stencil.depth.func = PIPE_FUNC_ALWAYS;
256 depth_stencil.stencil[0].enabled = 1;
257 depth_stencil.stencil[0].func = PIPE_FUNC_ALWAYS;
258 depth_stencil.stencil[0].fail_op = PIPE_STENCIL_OP_REPLACE;
259 depth_stencil.stencil[0].zpass_op = PIPE_STENCIL_OP_REPLACE;
260 depth_stencil.stencil[0].zfail_op = PIPE_STENCIL_OP_REPLACE;
261 depth_stencil.stencil[0].valuemask = 0xff;
262 depth_stencil.stencil[0].writemask = ctx->Stencil.WriteMask[0] & 0xff;
267 cso_set_depth_stencil_alpha(cso, &depth_stencil);