Home
last modified time | relevance | path

Searched refs:length_minus_one (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample_aos.c92 LLVMValueRef length_minus_one; in lp_build_sample_wrap_nearest_int() local
94 length_minus_one = lp_build_sub(int_coord_bld, length, int_coord_bld->one); in lp_build_sample_wrap_nearest_int()
99 coord = LLVMBuildAnd(builder, coord, length_minus_one, ""); in lp_build_sample_wrap_nearest_int()
116 coord = lp_build_min(int_coord_bld, coord, length_minus_one); in lp_build_sample_wrap_nearest_int()
150 LLVMValueRef length_minus_one = lp_build_sub(int_coord_bld, length_i, in lp_build_coord_repeat_npot_linear_int() local
186 *coord0_i = lp_build_select(int_coord_bld, mask, length_minus_one, *coord0_i); in lp_build_coord_repeat_npot_linear_int()
192 *coord0_i = lp_build_min(int_coord_bld, *coord0_i, length_minus_one); in lp_build_coord_repeat_npot_linear_int()
231 LLVMValueRef length_minus_one; in lp_build_sample_wrap_linear_int() local
241 length_minus_one = lp_build_sub(int_coord_bld, length, int_coord_bld->one); in lp_build_sample_wrap_linear_int()
249 coord0 = LLVMBuildAnd(builder, coord0, length_minus_one, ""); in lp_build_sample_wrap_linear_int()
[all …]
Dlp_bld_sample_soa.c287 LLVMValueRef length_minus_one = lp_build_sub(int_coord_bld, length_i, in lp_build_coord_repeat_npot_linear() local
308 *coord0_i = lp_build_select(int_coord_bld, mask, length_minus_one, *coord0_i); in lp_build_coord_repeat_npot_linear()
335 LLVMValueRef length_minus_one = lp_build_sub(int_coord_bld, length, int_coord_bld->one); in lp_build_sample_wrap_linear() local
352 coord0 = LLVMBuildAnd(builder, coord0, length_minus_one, ""); in lp_build_sample_wrap_linear()
353 coord1 = LLVMBuildAnd(builder, coord1, length_minus_one, ""); in lp_build_sample_wrap_linear()
366 PIPE_FUNC_NOTEQUAL, coord0, length_minus_one); in lp_build_sample_wrap_linear()
440 coord1 = lp_build_min(int_coord_bld, coord1, length_minus_one); in lp_build_sample_wrap_linear()
487 coord1 = lp_build_min(int_coord_bld, coord1, length_minus_one); in lp_build_sample_wrap_linear()
525 coord0 = lp_build_min(int_coord_bld, coord0, length_minus_one); in lp_build_sample_wrap_linear()
526 coord1 = lp_build_min(int_coord_bld, coord1, length_minus_one); in lp_build_sample_wrap_linear()
[all …]