Home
last modified time | relevance | path

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

/third_party/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 …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_depth.c93 LLVMValueRef stencilVals) in lp_build_stencil_test_single() argument
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() argument
146 stencilRefs[0], stencilVals); in lp_build_stencil_test()
153 stencilRefs[1], stencilVals); in lp_build_stencil_test()
172 LLVMValueRef stencilVals) in lp_build_stencil_op_single() argument
200 res = stencilVals; in lp_build_stencil_op_single()
210 res = lp_build_add(bld, stencilVals, bld->one); in lp_build_stencil_op_single()
214 res = lp_build_sub(bld, stencilVals, bld->one); in lp_build_stencil_op_single()
[all …]
/third_party/mesa3d/src/mesa/main/
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 …]
Dpack.h80 const GLubyte *stencilVals,
Dpack.c1142 const GLubyte *stencilVals, in _mesa_pack_depth_stencil_span() argument
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()