Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_quad_depth_test.c50 ubyte stencilVals[TGSI_QUAD_SIZE]; member
86 data->stencilVals[j] = tile->data.depth32[y][x] >> 24; in get_depth_stencil_values()
95 data->stencilVals[j] = tile->data.depth32[y][x] & 0xff; in get_depth_stencil_values()
103 data->stencilVals[j] = tile->data.stencil8[y][x]; in get_depth_stencil_values()
118 data->stencilVals[j] = (tile->data.depth64[y][x] >> 32) & 0xff; in get_depth_stencil_values()
280 tile->data.depth32[y][x] = (data->stencilVals[j] << 24) | data->bzzzz[j]; in write_depth_stencil_values()
287 tile->data.depth32[y][x] = (data->bzzzz[j] << 8) | data->stencilVals[j]; in write_depth_stencil_values()
301 tile->data.stencil8[y][x] = data->stencilVals[j]; in write_depth_stencil_values()
315 … tile->data.depth64[y][x] = (uint64_t)data->bzzzz[j] | ((uint64_t)data->stencilVals[j] << 32); in write_depth_stencil_values()
362 if (refs[j] < (data->stencilVals[j] & valMask)) { in do_stencil_test()
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_depth.c99 LLVMValueRef stencilVals) in lp_build_stencil_test_single() argument
124 stencilVals = LLVMBuildAnd(builder, stencilVals, valuemask, ""); in lp_build_stencil_test_single()
127 res = lp_build_cmp(bld, stencil->func, stencilRef, stencilVals); in lp_build_stencil_test_single()
143 LLVMValueRef stencilVals, in lp_build_stencil_test() argument
152 stencilRefs[0], stencilVals); in lp_build_stencil_test()
159 stencilRefs[1], stencilVals); in lp_build_stencil_test()
178 LLVMValueRef stencilVals) in lp_build_stencil_op_single() argument
206 res = stencilVals; in lp_build_stencil_op_single()
216 res = lp_build_add(bld, stencilVals, bld->one); in lp_build_stencil_op_single()
220 res = lp_build_sub(bld, stencilVals, bld->one); in lp_build_stencil_op_single()
[all …]
/external/mesa3d/src/mesa/main/
Dreadpix.c468 GLubyte *depthMap, *stencilMap, *stencilVals; in fast_read_depth_stencil_pixels_separate() local
489 stencilVals = (GLubyte *) malloc(width * sizeof(GLubyte)); in fast_read_depth_stencil_pixels_separate()
491 if (stencilVals) { in fast_read_depth_stencil_pixels_separate()
495 stencilMap, stencilVals); in fast_read_depth_stencil_pixels_separate()
498 dst[i] = (dst[i] & 0xffffff00) | stencilVals[i]; in fast_read_depth_stencil_pixels_separate()
510 free(stencilVals); in fast_read_depth_stencil_pixels_separate()
531 GLubyte *stencilVals; in slow_read_depth_stencil_pixels_separate() local
560 stencilVals = (GLubyte *) malloc(width * sizeof(GLubyte)); in slow_read_depth_stencil_pixels_separate()
563 if (stencilVals && depthVals) { in slow_read_depth_stencil_pixels_separate()
567 stencilMap, stencilVals); in slow_read_depth_stencil_pixels_separate()
[all …]
Dpack.h136 const GLubyte *stencilVals,
Dpack.c5778 const GLubyte *stencilVals, in _mesa_pack_depth_stencil_span() argument
5801 memcpy(stencilCopy, stencilVals, n * sizeof(GLubyte)); in _mesa_pack_depth_stencil_span()
5803 stencilVals = stencilCopy; in _mesa_pack_depth_stencil_span()
5810 dest[i] = (z << 8) | (stencilVals[i] & 0xff); in _mesa_pack_depth_stencil_span()
5816 dest[i*2+1] = stencilVals[i] & 0xff; in _mesa_pack_depth_stencil_span()