Searched refs:depth_stencil (Results 1 - 25 of 67) sorted by relevance

123

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
H A Dsp_state_blend.c90 const struct pipe_depth_stencil_alpha_state *depth_stencil)
92 return mem_dup(depth_stencil, sizeof(*depth_stencil));
98 void *depth_stencil)
102 softpipe->depth_stencil = (struct pipe_depth_stencil_alpha_state *)depth_stencil;
89 softpipe_create_depth_stencil_state(struct pipe_context * pipe,const struct pipe_depth_stencil_alpha_state * depth_stencil) argument
97 softpipe_bind_depth_stencil_state(struct pipe_context * pipe,void * depth_stencil) argument
H A Dsp_quad_pipe.c46 (sp->depth_stencil->depth.enabled &&
48 !sp->depth_stencil->alpha.enabled &&
H A Dsp_quad_depth_test.c545 switch (softpipe->depth_stencil->depth.func) {
603 if (softpipe->depth_stencil->depth.writemask) {
630 if (!softpipe->depth_stencil->stencil[1].enabled) {
640 func = softpipe->depth_stencil->stencil[face].func;
641 failOp = softpipe->depth_stencil->stencil[face].fail_op;
642 zFailOp = softpipe->depth_stencil->stencil[face].zfail_op;
643 zPassOp = softpipe->depth_stencil->stencil[face].zpass_op;
645 wrtMask = softpipe->depth_stencil->stencil[face].writemask;
646 valMask = softpipe->depth_stencil->stencil[face].valuemask;
662 if (softpipe->depth_stencil
[all...]
H A Dsp_tile_cache.h96 boolean depth_stencil; /**< Is the surface a depth/stencil format? */ member in struct:softpipe_tile_cache
H A Dsp_tile_cache.c219 tc->depth_stencil = util_format_is_depth_or_stencil(ps->format);
354 if (tc->depth_stencil) {
367 if (tc->depth_stencil) {
406 if (tc->depth_stencil) {
536 if (tc->depth_stencil) {
577 if (tc->depth_stencil) {
587 if (tc->depth_stencil) {
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/
H A Dsp_state_blend.c90 const struct pipe_depth_stencil_alpha_state *depth_stencil)
92 return mem_dup(depth_stencil, sizeof(*depth_stencil));
98 void *depth_stencil)
102 softpipe->depth_stencil = (struct pipe_depth_stencil_alpha_state *)depth_stencil;
89 softpipe_create_depth_stencil_state(struct pipe_context * pipe,const struct pipe_depth_stencil_alpha_state * depth_stencil) argument
97 softpipe_bind_depth_stencil_state(struct pipe_context * pipe,void * depth_stencil) argument
H A Dsp_quad_pipe.c46 (sp->depth_stencil->depth_enabled &&
48 !sp->depth_stencil->alpha_enabled &&
H A Dsp_quad_depth_test.c560 switch (softpipe->depth_stencil->depth_func) {
600 if (softpipe->depth_stencil->depth_writemask) {
627 if (!softpipe->depth_stencil->stencil[1].enabled) {
637 func = softpipe->depth_stencil->stencil[face].func;
638 failOp = softpipe->depth_stencil->stencil[face].fail_op;
639 zFailOp = softpipe->depth_stencil->stencil[face].zfail_op;
640 zPassOp = softpipe->depth_stencil->stencil[face].zpass_op;
642 wrtMask = softpipe->depth_stencil->stencil[face].writemask;
643 valMask = softpipe->depth_stencil->stencil[face].valuemask;
659 if (softpipe->depth_stencil
[all...]
H A Dsp_tile_cache.h96 boolean depth_stencil; /**< Is the surface a depth/stencil format? */ member in struct:softpipe_tile_cache
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_state_blend.c111 const struct pipe_depth_stencil_alpha_state *depth_stencil)
115 state = mem_dup(depth_stencil, sizeof *depth_stencil);
134 void *depth_stencil)
138 if (llvmpipe->depth_stencil == depth_stencil)
143 llvmpipe->depth_stencil = depth_stencil;
110 llvmpipe_create_depth_stencil_state(struct pipe_context * pipe,const struct pipe_depth_stencil_alpha_state * depth_stencil) argument
133 llvmpipe_bind_depth_stencil_state(struct pipe_context * pipe,void * depth_stencil) argument
H A Dlp_context.h63 const struct pipe_depth_stencil_alpha_state *depth_stencil; member in struct:llvmpipe_context
H A Dlp_state_derived.c229 !llvmpipe->depth_stencil->depth.enabled &&
230 !llvmpipe->depth_stencil->stencil[0].enabled);
248 llvmpipe->depth_stencil->alpha.ref_value);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_state_blend.c111 const struct pipe_depth_stencil_alpha_state *depth_stencil)
115 state = mem_dup(depth_stencil, sizeof *depth_stencil);
134 void *depth_stencil)
138 if (llvmpipe->depth_stencil == depth_stencil)
143 llvmpipe->depth_stencil = depth_stencil;
110 llvmpipe_create_depth_stencil_state(struct pipe_context * pipe,const struct pipe_depth_stencil_alpha_state * depth_stencil) argument
133 llvmpipe_bind_depth_stencil_state(struct pipe_context * pipe,void * depth_stencil) argument
H A Dlp_state_derived.c300 !llvmpipe->depth_stencil->depth_enabled &&
301 !llvmpipe->depth_stencil->stencil[0].enabled);
322 llvmpipe->depth_stencil->alpha_ref_value);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_cb_clear.c297 /* depth_stencil state: always pass/set to ref value */
299 struct pipe_depth_stencil_alpha_state depth_stencil; local in function:clear_with_quad
300 memset(&depth_stencil, 0, sizeof(depth_stencil));
302 depth_stencil.depth.enabled = 1;
303 depth_stencil.depth.writemask = 1;
304 depth_stencil.depth.func = PIPE_FUNC_ALWAYS;
310 depth_stencil.stencil[0].enabled = 1;
311 depth_stencil.stencil[0].func = PIPE_FUNC_ALWAYS;
312 depth_stencil
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/i915/
H A Di915_state.c463 const struct pipe_depth_stencil_alpha_state *depth_stencil)
468 int testmask = depth_stencil->stencil[0].valuemask & 0xff;
469 int writemask = depth_stencil->stencil[0].writemask & 0xff;
478 if (depth_stencil->stencil[0].enabled) {
479 int test = i915_translate_compare_func(depth_stencil->stencil[0].func);
480 int fop = i915_translate_stencil_op(depth_stencil->stencil[0].fail_op);
481 int dfop = i915_translate_stencil_op(depth_stencil->stencil[0].zfail_op);
482 int dpop = i915_translate_stencil_op(depth_stencil->stencil[0].zpass_op);
492 if (depth_stencil->stencil[1].enabled) {
493 int test = i915_translate_compare_func(depth_stencil
462 i915_create_depth_stencil_state(struct pipe_context * pipe,const struct pipe_depth_stencil_alpha_state * depth_stencil) argument
550 i915_bind_depth_stencil_state(struct pipe_context * pipe,void * depth_stencil) argument
563 i915_delete_depth_stencil_state(struct pipe_context * pipe,void * depth_stencil) argument
[all...]
H A Di915_state_immediate.c131 LIS5 |= i915->depth_stencil->stencil_LIS5;
176 if (i915->depth_stencil)
177 LIS6 |= i915->depth_stencil->depth_LIS6;
H A Di915_state_dynamic.c92 modes4 |= i915->depth_stencil->stencil_modes4;
114 bfo[0] = i915->depth_stencil->bfo[0];
115 bfo[1] = i915->depth_stencil->bfo[1];
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/i915/
H A Di915_state_immediate.c121 LIS5 |= i915->depth_stencil->stencil_LIS5_ccw;
123 LIS5 |= i915->depth_stencil->stencil_LIS5_cw;
173 if (i915->depth_stencil)
174 LIS6 |= i915->depth_stencil->depth_LIS6;
H A Di915_state.c443 const struct pipe_depth_stencil_alpha_state *depth_stencil)
448 cso->stencil_modes4_cw = i915_get_modes4_stencil(&depth_stencil->stencil[0]);
450 i915_get_modes4_stencil(&depth_stencil->stencil[1]);
452 if (depth_stencil->stencil[0].enabled) {
453 cso->stencil_LIS5_cw = i915_get_lis5_stencil(&depth_stencil->stencil[0]);
456 if (depth_stencil->stencil[1].enabled) {
457 cso->bfo_cw[0] = i915_get_bfo(&depth_stencil->stencil[1]);
458 cso->bfo_cw[1] = i915_get_bfm(&depth_stencil->stencil[1]);
463 cso->stencil_LIS5_ccw = i915_get_lis5_stencil(&depth_stencil->stencil[1]);
464 cso->bfo_ccw[0] = i915_get_bfo(&depth_stencil
441 i915_create_depth_stencil_state(struct pipe_context * pipe,const struct pipe_depth_stencil_alpha_state * depth_stencil) argument
502 i915_bind_depth_stencil_state(struct pipe_context * pipe,void * depth_stencil) argument
515 i915_delete_depth_stencil_state(struct pipe_context * pipe,void * depth_stencil) argument
[all...]
H A Di915_state_dynamic.c89 modes4 |= i915->depth_stencil->stencil_modes4_ccw;
91 modes4 |= i915->depth_stencil->stencil_modes4_cw;
113 bfo[0] = i915->depth_stencil->bfo_ccw[0];
114 bfo[1] = i915->depth_stencil->bfo_ccw[1];
116 bfo[0] = i915->depth_stencil->bfo_cw[0];
117 bfo[1] = i915->depth_stencil->bfo_cw[1];
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_cb_clear.c297 /* depth_stencil state: always pass/set to ref value */
299 struct pipe_depth_stencil_alpha_state depth_stencil; local in function:clear_with_quad
300 memset(&depth_stencil, 0, sizeof(depth_stencil));
302 depth_stencil.depth_enabled = 1;
303 depth_stencil.depth_writemask = 1;
304 depth_stencil.depth_func = PIPE_FUNC_ALWAYS;
310 depth_stencil.stencil[0].enabled = 1;
311 depth_stencil.stencil[0].func = PIPE_FUNC_ALWAYS;
312 depth_stencil
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/
H A Dsvga_pipe_depthstencil.c223 svga_bind_depth_stencil_state(struct pipe_context *pipe, void *depth_stencil) argument
232 svga->curr.depth = (const struct svga_depth_stencil_state *)depth_stencil;
238 svga_delete_depth_stencil_state(struct pipe_context *pipe, void *depth_stencil) argument
242 (struct svga_depth_stencil_state *) depth_stencil;
259 FREE(depth_stencil);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/panfrost/
H A Dpan_blit.c49 util_blitter_save_depth_stencil_alpha(blitter, ctx->depth_stencil);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/
H A Dsvga_pipe_depthstencil.c232 svga_bind_depth_stencil_state(struct pipe_context *pipe, void *depth_stencil) argument
241 svga->curr.depth = (const struct svga_depth_stencil_state *)depth_stencil;
247 svga_delete_depth_stencil_state(struct pipe_context *pipe, void *depth_stencil) argument
251 (struct svga_depth_stencil_state *) depth_stencil;
274 FREE(depth_stencil);

Completed in 28 milliseconds

123