Searched refs:length_minus_one (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_sample_aos.c | 92 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 …]
|
D | lp_bld_sample_soa.c | 269 LLVMValueRef length_minus_one = lp_build_sub(int_coord_bld, length_i, in lp_build_coord_repeat_npot_linear() local 290 *coord0_i = lp_build_select(int_coord_bld, mask, length_minus_one, *coord0_i); in lp_build_coord_repeat_npot_linear() 316 LLVMValueRef length_minus_one = lp_build_sub(int_coord_bld, length, int_coord_bld->one); in lp_build_sample_wrap_linear() local 333 coord0 = LLVMBuildAnd(builder, coord0, length_minus_one, ""); in lp_build_sample_wrap_linear() 334 coord1 = LLVMBuildAnd(builder, coord1, length_minus_one, ""); in lp_build_sample_wrap_linear() 347 PIPE_FUNC_NOTEQUAL, coord0, length_minus_one); in lp_build_sample_wrap_linear() 399 coord1 = lp_build_min(int_coord_bld, coord1, 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() 491 coord1 = lp_build_min(int_coord_bld, coord1, length_minus_one); in lp_build_sample_wrap_linear() 552 LLVMValueRef length_minus_one = lp_build_sub(int_coord_bld, length, int_coord_bld->one); in lp_build_sample_wrap_nearest() local [all …]
|