Home
last modified time | relevance | path

Searched refs:stencilVals (Results 1 - 5 of 5) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_quad_depth_test.c50 ubyte stencilVals[TGSI_QUAD_SIZE]; member
88 data->stencilVals[j] = tile->data.depth32[y][x] >> 24; in get_depth_stencil_values()
97 data->stencilVals[j] = tile->data.depth32[y][x] & 0xff; in get_depth_stencil_values()
105 data->stencilVals[j] = tile->data.stencil8[y][x]; in get_depth_stencil_values()
120 data->stencilVals[j] = (tile->data.depth64[y][x] >> 32) & 0xff; in get_depth_stencil_values()
263 * Write data->bzzzz[] values and data->stencilVals into the Z/stencil buffer.
293 tile->data.depth32[y][x] = (data->stencilVals[j] << 24) | data->bzzzz[j]; in write_depth_stencil_values()
300 tile->data.depth32[y][x] = (data->bzzzz[j] << 8) | data->stencilVals[j]; in write_depth_stencil_values()
314 tile->data.stencil8[y][x] = data->stencilVals[j]; in write_depth_stencil_values()
328 tile->data.depth64[y][x] = (uint64_t)data->bzzzz[j] | ((uint64_t)data->stencilVals[ in write_depth_stencil_values()
[all...]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_bld_depth.c86 * \param stencilVals vector of stencil values from framebuffer
93 LLVMValueRef stencilVals) in lp_build_stencil_test_single()
117 /* compute stencilVals = stencilVals & valuemask */ in lp_build_stencil_test_single()
118 stencilVals = LLVMBuildAnd(builder, stencilVals, valuemask, ""); in lp_build_stencil_test_single()
121 res = lp_build_cmp(bld, stencil->func, stencilRef, stencilVals); in lp_build_stencil_test_single()
137 LLVMValueRef stencilVals, in lp_build_stencil_test()
146 stencilRefs[0], stencilVals); in lp_build_stencil_test()
153 stencilRefs[1], stencilVals); in lp_build_stencil_test()
90 lp_build_stencil_test_single(struct lp_build_context *bld, const struct pipe_stencil_state *stencil, LLVMValueRef stencilRef, LLVMValueRef stencilVals) lp_build_stencil_test_single() argument
134 lp_build_stencil_test(struct lp_build_context *bld, const struct pipe_stencil_state stencil[2], LLVMValueRef stencilRefs[2], LLVMValueRef stencilVals, LLVMValueRef front_facing) lp_build_stencil_test() argument
168 lp_build_stencil_op_single(struct lp_build_context *bld, const struct pipe_stencil_state *stencil, enum stencil_op op, LLVMValueRef stencilRef, LLVMValueRef stencilVals) lp_build_stencil_op_single() argument
242 lp_build_stencil_op(struct lp_build_context *bld, const struct pipe_stencil_state stencil[2], enum stencil_op op, LLVMValueRef stencilRefs[2], LLVMValueRef stencilVals, LLVMValueRef mask, LLVMValueRef front_facing) lp_build_stencil_op() argument
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dreadpix.c699 GLubyte *depthMap, *stencilMap, *stencilVals; in fast_read_depth_stencil_pixels_separate() local
720 stencilVals = malloc(width * sizeof(GLubyte)); in fast_read_depth_stencil_pixels_separate()
722 if (stencilVals) { in fast_read_depth_stencil_pixels_separate()
726 stencilMap, stencilVals); in fast_read_depth_stencil_pixels_separate()
729 dst[i] = (dst[i] & 0xffffff00) | stencilVals[i]; in fast_read_depth_stencil_pixels_separate()
741 free(stencilVals); in fast_read_depth_stencil_pixels_separate()
762 GLubyte *stencilVals; in slow_read_depth_stencil_pixels_separate() local
791 stencilVals = malloc(width * sizeof(GLubyte)); in slow_read_depth_stencil_pixels_separate()
794 if (stencilVals && depthVals) { in slow_read_depth_stencil_pixels_separate()
798 stencilMap, stencilVals); in slow_read_depth_stencil_pixels_separate()
[all...]
H A Dpack.h80 const GLubyte *stencilVals,
H A Dpack.c1142 const GLubyte *stencilVals, in _mesa_pack_depth_stencil_span()
1165 memcpy(stencilCopy, stencilVals, n * sizeof(GLubyte)); in _mesa_pack_depth_stencil_span()
1167 stencilVals = stencilCopy; in _mesa_pack_depth_stencil_span()
1174 dest[i] = (z << 8) | (stencilVals[i] & 0xff); in _mesa_pack_depth_stencil_span()
1180 dest[i*2+1] = stencilVals[i] & 0xff; in _mesa_pack_depth_stencil_span()
1139 _mesa_pack_depth_stencil_span(struct gl_context *ctx,GLuint n, GLenum dstType, GLuint *dest, const GLfloat *depthVals, const GLubyte *stencilVals, const struct gl_pixelstore_attrib *dstPacking) _mesa_pack_depth_stencil_span() argument

Completed in 7 milliseconds