Home
last modified time | relevance | path

Searched refs:ivec_bld (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.c1465 lp_build_cube_new_coords(struct lp_build_context *ivec_bld, in lp_build_cube_new_coords() argument
1496 struct gallivm_state *gallivm = ivec_bld->gallivm; in lp_build_cube_new_coords()
1499 LLVMValueRef c2 = lp_build_const_int_vec(gallivm, ivec_bld->type, 2); in lp_build_cube_new_coords()
1500 LLVMValueRef c3 = lp_build_const_int_vec(gallivm, ivec_bld->type, 3); in lp_build_cube_new_coords()
1501 LLVMValueRef c4 = lp_build_const_int_vec(gallivm, ivec_bld->type, 4); in lp_build_cube_new_coords()
1502 LLVMValueRef c5 = lp_build_const_int_vec(gallivm, ivec_bld->type, 5); in lp_build_cube_new_coords()
1504 sel = lp_build_cmp(ivec_bld, PIPE_FUNC_EQUAL, face, c5); in lp_build_cube_new_coords()
1505 tmpsel = lp_build_select(ivec_bld, sel, ivec_bld->zero, ivec_bld->one); in lp_build_cube_new_coords()
1506 sel_f2345 = lp_build_cmp(ivec_bld, PIPE_FUNC_GREATER, face, ivec_bld->one); in lp_build_cube_new_coords()
1507 faceand1 = lp_build_and(ivec_bld, face, ivec_bld->one); in lp_build_cube_new_coords()
[all …]
Dlp_bld_sample_soa.c1012 struct lp_build_context *ivec_bld = &bld->int_coord_bld; in lp_build_sample_image_linear() local
1115 LLVMValueRef length_minus_one = lp_build_sub(ivec_bld, width_vec, ivec_bld->one); in lp_build_sample_image_linear()
1141 x1 = lp_build_add(ivec_bld, x0, ivec_bld->one); in lp_build_sample_image_linear()
1147 y1 = lp_build_add(ivec_bld, y0, ivec_bld->one); in lp_build_sample_image_linear()
1149 fall_off[0] = lp_build_cmp(ivec_bld, PIPE_FUNC_LESS, x0, ivec_bld->zero); in lp_build_sample_image_linear()
1150 fall_off[1] = lp_build_cmp(ivec_bld, PIPE_FUNC_GREATER, x1, length_minus_one); in lp_build_sample_image_linear()
1151 fall_off[2] = lp_build_cmp(ivec_bld, PIPE_FUNC_LESS, y0, ivec_bld->zero); in lp_build_sample_image_linear()
1152 fall_off[3] = lp_build_cmp(ivec_bld, PIPE_FUNC_GREATER, y1, length_minus_one); in lp_build_sample_image_linear()
1154 fall_off_x = lp_build_or(ivec_bld, fall_off[0], fall_off[1]); in lp_build_sample_image_linear()
1155 fall_off_y = lp_build_or(ivec_bld, fall_off[2], fall_off[3]); in lp_build_sample_image_linear()
[all …]
Dlp_bld_sample.h572 lp_build_cube_new_coords(struct lp_build_context *ivec_bld,