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
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()
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[j] << 32); in write_depth_stencil_values()
375 if (refs[j] < (data->stencilVals[j] & valMask)) { in do_stencil_test()
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_depth.c92 LLVMValueRef stencilVals) in lp_build_stencil_test_single() argument
117 stencilVals = LLVMBuildAnd(builder, stencilVals, valuemask, ""); in lp_build_stencil_test_single()
120 res = lp_build_cmp(bld, stencil->func, stencilRef, stencilVals); in lp_build_stencil_test_single()
136 LLVMValueRef stencilVals, in lp_build_stencil_test() argument
145 stencilRefs[0], stencilVals); in lp_build_stencil_test()
152 stencilRefs[1], stencilVals); in lp_build_stencil_test()
171 LLVMValueRef stencilVals) in lp_build_stencil_op_single() argument
199 res = stencilVals; in lp_build_stencil_op_single()
209 res = lp_build_add(bld, stencilVals, bld->one); in lp_build_stencil_op_single()
213 res = lp_build_sub(bld, stencilVals, bld->one); in lp_build_stencil_op_single()
[all …]
/external/mesa3d/src/mesa/main/
Dreadpix.c688 GLubyte *depthMap, *stencilMap, *stencilVals; in fast_read_depth_stencil_pixels_separate() local
709 stencilVals = malloc(width * sizeof(GLubyte)); in fast_read_depth_stencil_pixels_separate()
711 if (stencilVals) { in fast_read_depth_stencil_pixels_separate()
715 stencilMap, stencilVals); in fast_read_depth_stencil_pixels_separate()
718 dst[i] = (dst[i] & 0xffffff00) | stencilVals[i]; in fast_read_depth_stencil_pixels_separate()
730 free(stencilVals); in fast_read_depth_stencil_pixels_separate()
751 GLubyte *stencilVals; in slow_read_depth_stencil_pixels_separate() local
780 stencilVals = malloc(width * sizeof(GLubyte)); in slow_read_depth_stencil_pixels_separate()
783 if (stencilVals && depthVals) { in slow_read_depth_stencil_pixels_separate()
787 stencilMap, stencilVals); in slow_read_depth_stencil_pixels_separate()
[all …]
Dpack.h80 const GLubyte *stencilVals,
Dpack.c1141 const GLubyte *stencilVals, in _mesa_pack_depth_stencil_span() argument
1164 memcpy(stencilCopy, stencilVals, n * sizeof(GLubyte)); in _mesa_pack_depth_stencil_span()
1166 stencilVals = stencilCopy; in _mesa_pack_depth_stencil_span()
1173 dest[i] = (z << 8) | (stencilVals[i] & 0xff); in _mesa_pack_depth_stencil_span()
1179 dest[i*2+1] = stencilVals[i] & 0xff; in _mesa_pack_depth_stencil_span()