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()
154 LLVMValueRef length_minus_one; in lp_build_sample_wrap_nearest_float() local
170 length_minus_one = lp_build_sub(coord_bld, length, coord_bld->one); in lp_build_sample_wrap_nearest_float()
180 length_minus_one); in lp_build_sample_wrap_nearest_float()
212 LLVMValueRef length_minus_one = lp_build_sub(int_coord_bld, length_i, in lp_build_coord_repeat_npot_linear_int() local
248 *coord0_i = lp_build_select(int_coord_bld, mask, length_minus_one, *coord0_i); in lp_build_coord_repeat_npot_linear_int()
254 *coord0_i = lp_build_min(int_coord_bld, *coord0_i, length_minus_one); in lp_build_coord_repeat_npot_linear_int()
[all …]
Dlp_bld_sample_soa.c277 LLVMValueRef length_minus_one = lp_build_sub(int_coord_bld, length_i, in lp_build_coord_repeat_npot_linear() local
298 *coord0_i = lp_build_select(int_coord_bld, mask, length_minus_one, *coord0_i); in lp_build_coord_repeat_npot_linear()
325 LLVMValueRef length_minus_one = lp_build_sub(int_coord_bld, length, int_coord_bld->one); in lp_build_sample_wrap_linear() local
342 coord0 = LLVMBuildAnd(builder, coord0, length_minus_one, ""); in lp_build_sample_wrap_linear()
343 coord1 = LLVMBuildAnd(builder, coord1, length_minus_one, ""); in lp_build_sample_wrap_linear()
356 PIPE_FUNC_NOTEQUAL, coord0, length_minus_one); in lp_build_sample_wrap_linear()
430 coord1 = lp_build_min(int_coord_bld, coord1, length_minus_one); in lp_build_sample_wrap_linear()
477 coord1 = lp_build_min(int_coord_bld, coord1, length_minus_one); in lp_build_sample_wrap_linear()
515 coord0 = lp_build_min(int_coord_bld, coord0, length_minus_one); in lp_build_sample_wrap_linear()
516 coord1 = lp_build_min(int_coord_bld, coord1, length_minus_one); in lp_build_sample_wrap_linear()
[all …]