Searched refs:ivec_bld (Results 1 – 3 of 3) sorted by relevance
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_sample.c | 1502 lp_build_cube_new_coords(struct lp_build_context *ivec_bld, in lp_build_cube_new_coords() argument 1533 struct gallivm_state *gallivm = ivec_bld->gallivm; in lp_build_cube_new_coords() 1536 LLVMValueRef c2 = lp_build_const_int_vec(gallivm, ivec_bld->type, 2); in lp_build_cube_new_coords() 1537 LLVMValueRef c3 = lp_build_const_int_vec(gallivm, ivec_bld->type, 3); in lp_build_cube_new_coords() 1538 LLVMValueRef c4 = lp_build_const_int_vec(gallivm, ivec_bld->type, 4); in lp_build_cube_new_coords() 1539 LLVMValueRef c5 = lp_build_const_int_vec(gallivm, ivec_bld->type, 5); in lp_build_cube_new_coords() 1541 sel = lp_build_cmp(ivec_bld, PIPE_FUNC_EQUAL, face, c5); in lp_build_cube_new_coords() 1542 tmpsel = lp_build_select(ivec_bld, sel, ivec_bld->zero, ivec_bld->one); in lp_build_cube_new_coords() 1543 sel_f2345 = lp_build_cmp(ivec_bld, PIPE_FUNC_GREATER, face, ivec_bld->one); in lp_build_cube_new_coords() 1544 faceand1 = lp_build_and(ivec_bld, face, ivec_bld->one); in lp_build_cube_new_coords() [all …]
|
D | lp_bld_sample_soa.c | 1021 struct lp_build_context *ivec_bld = &bld->int_coord_bld; in lp_build_sample_image_linear() local 1140 LLVMValueRef length_minus_one = lp_build_sub(ivec_bld, width_vec, ivec_bld->one); in lp_build_sample_image_linear() 1166 x1 = lp_build_add(ivec_bld, x0, ivec_bld->one); in lp_build_sample_image_linear() 1172 y1 = lp_build_add(ivec_bld, y0, ivec_bld->one); in lp_build_sample_image_linear() 1174 fall_off[0] = lp_build_cmp(ivec_bld, PIPE_FUNC_LESS, x0, ivec_bld->zero); in lp_build_sample_image_linear() 1175 fall_off[1] = lp_build_cmp(ivec_bld, PIPE_FUNC_GREATER, x1, length_minus_one); in lp_build_sample_image_linear() 1176 fall_off[2] = lp_build_cmp(ivec_bld, PIPE_FUNC_LESS, y0, ivec_bld->zero); in lp_build_sample_image_linear() 1177 fall_off[3] = lp_build_cmp(ivec_bld, PIPE_FUNC_GREATER, y1, length_minus_one); in lp_build_sample_image_linear() 1179 fall_off_x = lp_build_or(ivec_bld, fall_off[0], fall_off[1]); in lp_build_sample_image_linear() 1180 fall_off_y = lp_build_or(ivec_bld, fall_off[2], fall_off[3]); in lp_build_sample_image_linear() [all …]
|
D | lp_bld_sample.h | 645 lp_build_cube_new_coords(struct lp_build_context *ivec_bld,
|