| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/etnaviv/ |
| etnaviv_zsa.c | 48 /* XXX does stencil[0] / stencil[1] order depend on rs->front_ccw? */ 56 * instead of just where the stencil condition holds (GC600 rev 0x0019, without 62 if(so->stencil[i].writemask == 0) 64 so->stencil[i].fail_op = so->stencil[i].zfail_op = so->stencil[i].zpass_op = PIPE_STENCIL_OP_KEEP; 70 * the stencil-modifying functions is used. */ 71 if (so->stencil[0].enabled) { 72 if (so->stencil[0].func != PIPE_FUNC_ALWAYS | [all...] |
| etnaviv_state.h | 43 return ctx->zsa && ctx->zsa->stencil[0].enabled;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/ |
| svga_pipe_depthstencil.c | 75 * Define a vgpu10 depth/stencil state object for the given 76 * svga depth/stencil state. 91 /* Note: we use the ds->stencil[0].enabled value for both the front 92 * and back-face enables. If single-side stencil is used, we'll have 102 /* Stencil */ 103 ds->stencil[0].enabled, /*f|b*/ 104 ds->stencil[0].enabled, /*f*/ 105 ds->stencil[0].enabled, /*b*/ 108 /* front stencil */ 109 ds->stencil[0].fail [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/ |
| etnaviv_zsa.c | 53 /* XXX does stencil[0] / stencil[1] order depend on rs->front_ccw? */ 57 * instead of just where the stencil condition holds (GC600 rev 0x0019, without 63 if(so->stencil[i].writemask == 0) 65 so->stencil[i].fail_op = so->stencil[i].zfail_op = so->stencil[i].zpass_op = PIPE_STENCIL_OP_KEEP; 71 * the stencil-modifying functions is used. */ 72 if (so->stencil[0].enabled) { 73 if (so->stencil[0].func != PIPE_FUNC_ALWAYS | [all...] |
| etnaviv_state.h | 43 return ctx->zsa && ctx->zsa->stencil[0].enabled;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/ |
| svga_pipe_depthstencil.c | 75 * Define a vgpu10 depth/stencil state object for the given 76 * svga depth/stencil state. 97 /* Note: we use the ds->stencil[0].enabled value for both the front 98 * and back-face enables. If single-side stencil is used, we'll have 107 /* Stencil */ 108 ds->stencil[0].enabled, /*f|b*/ 109 ds->stencil[0].enabled, /*f*/ 110 ds->stencil[0].enabled, /*b*/ 113 /* front stencil */ 114 ds->stencil[0].fail [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/ |
| lp_clear.h | 42 double depth, unsigned stencil);
|
| lp_clear.c | 54 unsigned stencil) 66 lp_setup_clear( llvmpipe->setup, color, depth, stencil, buffers );
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/ |
| sp_clear.h | 41 double depth, unsigned stencil);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/ |
| lp_clear.h | 41 double depth, unsigned stencil);
|
| lp_clear.c | 52 unsigned stencil) 62 lp_setup_clear( llvmpipe->setup, color, depth, stencil, buffers );
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/ |
| sp_clear.h | 40 double depth, unsigned stencil);
|
| sp_clear.c | 51 double depth, unsigned stencil) 79 /* Clearing only depth or stencil in a combined depth-stencil buffer. */ 80 util_clear_depth_stencil(pipe, zsbuf, zs_buffers, depth, stencil, 86 cv = util_pack64_z_stencil(zsbuf->format, depth, stencil);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/ |
| st_atom_depth.c | 44 #include "main/stencil.h" 48 * Convert GLenum stencil op tokens to pipe tokens. 100 if (ctx->Stencil.Enabled && ctx->DrawBuffer->Visual.stencilBits > 0) { 101 dsa->stencil[0].enabled = 1; 102 dsa->stencil[0].func = func_to_gallium(ctx->Stencil.Function[0]); 103 dsa->stencil[0].fail_op = gl_stencil_op_to_pipe(ctx->Stencil.FailFunc[0]); 104 dsa->stencil[0].zfail_op = gl_stencil_op_to_pipe(ctx->Stencil.ZFailFunc[0]) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| st_atom_depth.c | 44 #include "main/stencil.h" 69 * Convert GLenum stencil op tokens to pipe tokens. 121 if (ctx->Stencil.Enabled && ctx->DrawBuffer->Visual.stencilBits > 0) { 122 dsa->stencil[0].enabled = 1; 123 dsa->stencil[0].func = st_compare_func_to_pipe(ctx->Stencil.Function[0]); 124 dsa->stencil[0].fail_op = gl_stencil_op_to_pipe(ctx->Stencil.FailFunc[0]); 125 dsa->stencil[0].zfail_op = gl_stencil_op_to_pipe(ctx->Stencil.ZFailFunc[0]) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/amd/common/ |
| ac_shader_util.c | 45 /* Both stencil and sample mask need only 16 bits. */ 114 LLVMValueRef stencil, LLVMValueRef samplemask, 119 stencil != NULL, 122 assert(depth || stencil || samplemask); 134 args->out[1] = LLVMGetUndef(ctx->f32); /* G, stencil test val[0:7], stencil op val[8:15] */ 142 if (stencil) { 143 /* Stencil should be in X[23:16]. */ 144 stencil = ac_to_integer(ctx, stencil); [all...] |
| ac_shader_util.h | 45 LLVMValueRef stencil, LLVMValueRef samplemask,
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/swrast/ |
| s_stencil.h | 41 GLint n, GLint x, GLint y, GLubyte stencil[]); 46 const GLubyte stencil[] );
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/ |
| s_stencil.h | 41 GLint n, GLint x, GLint y, GLubyte stencil[]); 46 const GLubyte stencil[] );
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a2xx/ |
| fd2_zsa.c | 57 if (cso->stencil[0].enabled) { 58 const struct pipe_stencil_state *s = &cso->stencil[0]; 71 if (cso->stencil[1].enabled) { 72 const struct pipe_stencil_state *bs = &cso->stencil[1];
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a3xx/ |
| fd3_zsa.c | 57 if (cso->stencil[0].enabled) { 58 const struct pipe_stencil_state *s = &cso->stencil[0]; 72 if (cso->stencil[1].enabled) { 73 const struct pipe_stencil_state *bs = &cso->stencil[1];
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a4xx/ |
| fd4_zsa.c | 57 if (cso->stencil[0].enabled) { 58 const struct pipe_stencil_state *s = &cso->stencil[0]; 73 if (cso->stencil[1].enabled) { 74 const struct pipe_stencil_state *bs = &cso->stencil[1];
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a2xx/ |
| fd2_zsa.c | 57 if (cso->stencil[0].enabled) { 58 const struct pipe_stencil_state *s = &cso->stencil[0]; 71 if (cso->stencil[1].enabled) { 72 const struct pipe_stencil_state *bs = &cso->stencil[1];
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a3xx/ |
| fd3_zsa.c | 59 if (cso->stencil[0].enabled) { 60 const struct pipe_stencil_state *s = &cso->stencil[0]; 74 if (cso->stencil[1].enabled) { 75 const struct pipe_stencil_state *bs = &cso->stencil[1];
|
| /xsrc/external/mit/mesa-demos/dist/src/tests/ |
| stencilreaddraw.c | 24 GLubyte stencil[100 * 100 * 2]; local 53 /* read the stencil image */ 54 glReadPixels(0, 0, 100, 100, GL_STENCIL_INDEX, GL_UNSIGNED_BYTE, stencil); 58 min = max = stencil[0]; 60 if (stencil[i] < min) 61 min = stencil[i]; 62 if (stencil[i] > max) 63 max = stencil[i]; 65 printf("Stencil value range: [%u, %u]\n", min, max); 67 printf("Error: expected max stencil val of %u, found %u\n" [all...] |