Home
last modified time | relevance | path

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

/external/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.c286 LLVMValueRef length_minus_one = lp_build_sub(int_coord_bld, length_i, in lp_build_coord_repeat_npot_linear() local
307 *coord0_i = lp_build_select(int_coord_bld, mask, length_minus_one, *coord0_i); in lp_build_coord_repeat_npot_linear()
334 LLVMValueRef length_minus_one = lp_build_sub(int_coord_bld, length, int_coord_bld->one); in lp_build_sample_wrap_linear() local
351 coord0 = LLVMBuildAnd(builder, coord0, length_minus_one, ""); in lp_build_sample_wrap_linear()
352 coord1 = LLVMBuildAnd(builder, coord1, length_minus_one, ""); in lp_build_sample_wrap_linear()
365 PIPE_FUNC_NOTEQUAL, coord0, length_minus_one); in lp_build_sample_wrap_linear()
439 coord1 = lp_build_min(int_coord_bld, coord1, length_minus_one); in lp_build_sample_wrap_linear()
486 coord1 = lp_build_min(int_coord_bld, coord1, length_minus_one); in lp_build_sample_wrap_linear()
524 coord0 = lp_build_min(int_coord_bld, coord0, length_minus_one); in lp_build_sample_wrap_linear()
525 coord1 = lp_build_min(int_coord_bld, coord1, length_minus_one); in lp_build_sample_wrap_linear()
[all …]