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.c681 GLubyte *depthMap, *stencilMap, *stencilVals; in fast_read_depth_stencil_pixels_separate() local
702 stencilVals = malloc(width * sizeof(GLubyte)); in fast_read_depth_stencil_pixels_separate()
704 if (stencilVals) { in fast_read_depth_stencil_pixels_separate()
708 stencilMap, stencilVals); in fast_read_depth_stencil_pixels_separate()
711 dst[i] = (dst[i] & 0xffffff00) | stencilVals[i]; in fast_read_depth_stencil_pixels_separate()
723 free(stencilVals); in fast_read_depth_stencil_pixels_separate()
744 GLubyte *stencilVals; in slow_read_depth_stencil_pixels_separate() local
773 stencilVals = malloc(width * sizeof(GLubyte)); in slow_read_depth_stencil_pixels_separate()
776 if (stencilVals && depthVals) { in slow_read_depth_stencil_pixels_separate()
780 stencilMap, stencilVals); in slow_read_depth_stencil_pixels_separate()
[all …]
Dpack.h78 const GLubyte *stencilVals,
Dpack.c1157 const GLubyte *stencilVals, in _mesa_pack_depth_stencil_span() argument
1180 memcpy(stencilCopy, stencilVals, n * sizeof(GLubyte)); in _mesa_pack_depth_stencil_span()
1182 stencilVals = stencilCopy; in _mesa_pack_depth_stencil_span()
1189 dest[i] = (z << 8) | (stencilVals[i] & 0xff); in _mesa_pack_depth_stencil_span()
1195 dest[i*2+1] = stencilVals[i] & 0xff; in _mesa_pack_depth_stencil_span()