Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.c1602 lp_build_cube_new_coords(struct lp_build_context *ivec_bld, in lp_build_cube_new_coords() argument
1633 struct gallivm_state *gallivm = ivec_bld->gallivm; in lp_build_cube_new_coords()
1636 LLVMValueRef c2 = lp_build_const_int_vec(gallivm, ivec_bld->type, 2); in lp_build_cube_new_coords()
1637 LLVMValueRef c3 = lp_build_const_int_vec(gallivm, ivec_bld->type, 3); in lp_build_cube_new_coords()
1638 LLVMValueRef c4 = lp_build_const_int_vec(gallivm, ivec_bld->type, 4); in lp_build_cube_new_coords()
1639 LLVMValueRef c5 = lp_build_const_int_vec(gallivm, ivec_bld->type, 5); in lp_build_cube_new_coords()
1641 sel = lp_build_cmp(ivec_bld, PIPE_FUNC_EQUAL, face, c5); in lp_build_cube_new_coords()
1642 tmpsel = lp_build_select(ivec_bld, sel, ivec_bld->zero, ivec_bld->one); in lp_build_cube_new_coords()
1643 sel_f2345 = lp_build_cmp(ivec_bld, PIPE_FUNC_GREATER, face, ivec_bld->one); in lp_build_cube_new_coords()
1644 faceand1 = lp_build_and(ivec_bld, face, ivec_bld->one); in lp_build_cube_new_coords()
[all …]
Dlp_bld_sample_soa.c1022 struct lp_build_context *ivec_bld = &bld->int_coord_bld; in lp_build_sample_image_linear() local
1141 LLVMValueRef length_minus_one = lp_build_sub(ivec_bld, width_vec, ivec_bld->one); in lp_build_sample_image_linear()
1167 x1 = lp_build_add(ivec_bld, x0, ivec_bld->one); in lp_build_sample_image_linear()
1173 y1 = lp_build_add(ivec_bld, y0, ivec_bld->one); in lp_build_sample_image_linear()
1175 fall_off[0] = lp_build_cmp(ivec_bld, PIPE_FUNC_LESS, x0, ivec_bld->zero); in lp_build_sample_image_linear()
1176 fall_off[1] = lp_build_cmp(ivec_bld, PIPE_FUNC_GREATER, x1, length_minus_one); in lp_build_sample_image_linear()
1177 fall_off[2] = lp_build_cmp(ivec_bld, PIPE_FUNC_LESS, y0, ivec_bld->zero); in lp_build_sample_image_linear()
1178 fall_off[3] = lp_build_cmp(ivec_bld, PIPE_FUNC_GREATER, y1, length_minus_one); in lp_build_sample_image_linear()
1180 fall_off_x = lp_build_or(ivec_bld, fall_off[0], fall_off[1]); in lp_build_sample_image_linear()
1181 fall_off_y = lp_build_or(ivec_bld, fall_off[2], fall_off[3]); in lp_build_sample_image_linear()
[all …]
Dlp_bld_sample.h654 lp_build_cube_new_coords(struct lp_build_context *ivec_bld,