/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_sample.c | 321 pmin2 = lp_build_select(coord_bld, comp, pmin2_alt, pmin2); in lp_build_pmin() 454 rho = lp_build_select(coord_bld, rho_is_inf, coord_bld->zero, rho); in lp_build_rho() 1641 tmpsel = lp_build_select(ivec_bld, sel, ivec_bld->zero, ivec_bld->one); in lp_build_cube_new_coords() 1645 next_faces[0] = lp_build_select(ivec_bld, sel_f2345, tmpsel, tmp); in lp_build_cube_new_coords() 1651 next_faces[3] = lp_build_select(ivec_bld, sel_f23, tmp, c3); in lp_build_cube_new_coords() 1668 tmp = lp_build_select(ivec_bld, sel_f2, maxmy0, y0); in lp_build_cube_new_coords() 1669 next_xcoords[1][0] = lp_build_select(ivec_bld, sel_f23, tmp, ivec_bld->zero); in lp_build_cube_new_coords() 1672 tmp = lp_build_select(ivec_bld, sel_f2, maxmy1, y1); in lp_build_cube_new_coords() 1673 next_xcoords[1][1] = lp_build_select(ivec_bld, sel_f23, tmp, ivec_bld->zero); in lp_build_cube_new_coords() 1678 tmpsel = lp_build_select(ivec_bld, sel_fand1, ivec_bld->zero, max_coord); in lp_build_cube_new_coords() [all …]
|
D | lp_bld_sample_soa.c | 222 texel_out[chan] = lp_build_select(&bld->texel_bld, use_border, in lp_build_sample_texel_soa() 308 *coord0_i = lp_build_select(int_coord_bld, mask, length_minus_one, *coord0_i); in lp_build_coord_repeat_npot_linear() 946 colors_out[0] = lp_build_select(&bld->texel_bld, cmpval, in lp_build_sample_image_nearest() 1219 x00 = lp_build_select(ivec_bld, fall_off[0], new_xcoords[0][0], x0); in lp_build_sample_image_linear() 1220 y00 = lp_build_select(ivec_bld, fall_off[0], new_ycoords[0][0], y0_clamped); in lp_build_sample_image_linear() 1221 x10 = lp_build_select(ivec_bld, fall_off[0], new_xcoords[0][1], x0); in lp_build_sample_image_linear() 1222 y10 = lp_build_select(ivec_bld, fall_off[0], new_ycoords[0][1], y1_clamped); in lp_build_sample_image_linear() 1223 x01 = lp_build_select(ivec_bld, fall_off[1], new_xcoords[1][0], x1); in lp_build_sample_image_linear() 1224 y01 = lp_build_select(ivec_bld, fall_off[1], new_ycoords[1][0], y0_clamped); in lp_build_sample_image_linear() 1225 x11 = lp_build_select(ivec_bld, fall_off[1], new_xcoords[1][1], x1); in lp_build_sample_image_linear() [all …]
|
D | lp_bld_arit.c | 183 return lp_build_select(bld, isnan, a, min); in lp_build_min_simple() 197 return lp_build_select(bld, cond, a, b); in lp_build_min_simple() 202 return lp_build_select(bld, cond, a, b); in lp_build_min_simple() 205 return lp_build_select(bld, cond, b, a); in lp_build_min_simple() 208 return lp_build_select(bld, cond, a, b); in lp_build_min_simple() 213 return lp_build_select(bld, cond, a, b); in lp_build_min_simple() 217 return lp_build_select(bld, cond, a, b); in lp_build_min_simple() 331 return lp_build_select(bld, isnan, a, max); in lp_build_max_simple() 345 return lp_build_select(bld, cond, a, b); in lp_build_max_simple() 350 return lp_build_select(bld, cond, a, b); in lp_build_max_simple() [all …]
|
D | lp_bld_tgsi_aos.c | 292 value = lp_build_select(&bld->bld_base.base, in lp_emit_store_aos() 529 …dst0 = lp_build_select(&bld->bld_base.base, tmp0, bld->bld_base.base.one, bld->bld_base.base.zero); in lp_emit_instruction_aos() 537 …dst0 = lp_build_select(&bld->bld_base.base, tmp0, bld->bld_base.base.one, bld->bld_base.base.zero); in lp_emit_instruction_aos() 631 …dst0 = lp_build_select(&bld->bld_base.base, tmp0, bld->bld_base.base.one, bld->bld_base.base.zero); in lp_emit_instruction_aos() 638 …dst0 = lp_build_select(&bld->bld_base.base, tmp0, bld->bld_base.base.one, bld->bld_base.base.zero); in lp_emit_instruction_aos() 651 …dst0 = lp_build_select(&bld->bld_base.base, tmp0, bld->bld_base.base.one, bld->bld_base.base.zero); in lp_emit_instruction_aos() 658 …dst0 = lp_build_select(&bld->bld_base.base, tmp0, bld->bld_base.base.one, bld->bld_base.base.zero); in lp_emit_instruction_aos() 720 dst0 = lp_build_select(&bld->bld_base.base, tmp0, src1, src2); in lp_emit_instruction_aos()
|
D | lp_bld_format_s3tc.c | 683 color2 = lp_build_select(&bld32, sel_mask, color2, color2_2); in s3tc_dxt1_full_to_rgba_aos() 684 color3 = lp_build_select(&bld32, sel_mask, color3, color3_2); in s3tc_dxt1_full_to_rgba_aos() 720 color0 = lp_build_select(&bld32, sel_lo, color1, color0); in s3tc_dxt1_full_to_rgba_aos() 721 color2 = lp_build_select(&bld32, sel_lo, color3, color2); in s3tc_dxt1_full_to_rgba_aos() 724 rgba = lp_build_select(&bld32, sel_hi, color2, color0); in s3tc_dxt1_full_to_rgba_aos() 809 tmp = lp_build_select(&bld, sel_mask, alpha_low, alpha_hi); in s3tc_dxt3_to_rgba_aos() 866 weight = lp_build_select(&bld16, sel_mask, weight7, weight5); in lp_build_lerpdxta() 1012 alpha = lp_build_select(&bld32, tmp_mask, alpha0, alpha1); in s3tc_dxt5_alpha_channel() 1015 alpha = lp_build_select(&bld32, tmp_mask, ainterp, alpha); in s3tc_dxt5_alpha_channel() 1024 alpha = lp_build_select(&bld32, mask6, lp_build_const_int_vec(gallivm, type, -127), alpha); in s3tc_dxt5_alpha_channel() [all …]
|
D | lp_bld_format_srgb.c | 144 return lp_build_select(&f32_bld, is_linear, part_lin, part_pow); in lp_build_srgb_to_linear() 303 tmp = lp_build_select(&f32_bld, is_linear, lin, pow_final); in lp_build_linear_to_srgb()
|
D | lp_bld_logic.h | 82 lp_build_select(struct lp_build_context *bld,
|
D | lp_bld_logic.c | 303 lp_build_select(struct lp_build_context *bld, in lp_build_select() function 486 return lp_build_select(bld, mask_vec, a, b); in lp_build_select_aos()
|
D | lp_bld_format_float.c | 194 res = lp_build_select(&i32_bld, is_nan_or_inf, nan_or_inf, normal); in lp_build_float_to_smallfloat() 382 res = lp_build_select(&i32_bld, isdenorm, denorm, normal); in lp_build_smallfloat_to_float()
|
D | lp_bld_format_yuv.c | 102 *y = lp_build_select(&bld32, sel, tmp, tmp2); in uyvy_to_yuv_soa() 185 *y = lp_build_select(&bld32, sel, packed, tmp); in yuyv_to_yuv_soa()
|
D | lp_bld_sample_aos.c | 186 *coord0_i = lp_build_select(int_coord_bld, mask, length_minus_one, *coord0_i); in lp_build_coord_repeat_npot_linear_int() 339 coord0 = lp_build_select(int_coord_bld, lmask, coord0, int_coord_bld->zero); in lp_build_sample_wrap_linear_int() 340 coord0 = lp_build_select(int_coord_bld, umask, coord0, length_minus_one); in lp_build_sample_wrap_linear_int()
|
D | lp_bld_tgsi_action.c | 1322 emit_data->output[emit_data->chan] = lp_build_select(&bld_base->base, in cmp_emit_cpu() 1341 lp_build_select(&bld_base->base, in ucmp_emit_cpu() 1809 emit_data->output[emit_data->chan] = lp_build_select(&bld_base->base, in set_emit_cpu() 2438 emit_data->output[emit_data->chan] = lp_build_select( in lsb_emit_cpu() 2460 emit_data->args[0] = lp_build_select( in imsb_emit_cpu() 2495 emit_data->output[emit_data->chan] = lp_build_select( in ibfe_emit_cpu()
|
D | lp_bld_ir_common.c | 221 res = lp_build_select(bld_store, exec_mask, val, dst); in lp_exec_mask_store()
|
D | lp_bld_tgsi_soa.c | 574 indexes = lp_build_select(uint_bld, overflow_mask, uint_bld->zero, indexes); in build_gather() 576 indexes2 = lp_build_select(uint_bld, overflow_mask, uint_bld->zero, indexes2); in build_gather() 612 res = lp_build_select(&bld_base->dbl_bld, overflow_mask, in build_gather() 615 res = lp_build_select(bld, overflow_mask, bld->zero, res); in build_gather() 655 real_val = lp_build_select(&bld->elem_bld, scalar_pred, val, dst_val); in emit_mask_scatter() 3941 current_vec = lp_build_select(&bld_base->uint_bld, in clear_uint_vec_ptr_from_mask()
|
D | lp_bld_nir_soa.c | 259 indexes = lp_build_select(uint_bld, overflow_mask, uint_bld->zero, indexes); in build_gather() 261 indexes2 = lp_build_select(uint_bld, overflow_mask, uint_bld->zero, indexes2); in build_gather() 297 res = lp_build_select(&bld_base->dbl_bld, overflow_mask, in build_gather() 300 res = lp_build_select(bld, overflow_mask, bld->zero, res); in build_gather() 1957 current_vec = lp_build_select(&bld_base->uint_bld, in clear_uint_vec_ptr_from_mask()
|
D | lp_bld_nir.c | 442 return lp_build_select(bld, v, src[1], src[2]); in emit_b32csel() 587 divisor = lp_build_select(mask_bld, div_mask2, int_bld->one, divisor); in get_signed_divisor()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_bld_depth.c | 155 res = lp_build_select(bld, front_facing, res, back_res); in lp_build_stencil_test() 267 res = lp_build_select(bld, front_facing, res, back_res); in lp_build_stencil_op() 282 writemask = lp_build_select(bld, front_facing, in lp_build_stencil_op() 292 res = lp_build_select(bld, mask, res, stencilVals); in lp_build_stencil_op() 746 z_value = lp_build_select(&z_bld, mask_value, z_value, z_fb); in lp_build_depth_stencil_write_swizzled() 749 s_value = lp_build_select(&z_bld, mask_value, s_value, s_fb); in lp_build_depth_stencil_write_swizzled() 1105 z_dst = lp_build_select(&z_bld, z_pass_mask, z_src, z_dst); in lp_build_depth_stencil_test()
|
D | lp_bld_interp.c | 187 centroid_x_offset = lp_build_select(coeff_bld, sample_cov, x_val_idx, centroid_x_offset); in calc_centroid_offsets() 188 centroid_y_offset = lp_build_select(coeff_bld, sample_cov, y_val_idx, centroid_y_offset); in calc_centroid_offsets() 190 *centroid_x = lp_build_select(coeff_bld, s_mask_and, pix_center_offset, centroid_x_offset); in calc_centroid_offsets() 191 *centroid_y = lp_build_select(coeff_bld, s_mask_and, pix_center_offset, centroid_y_offset); in calc_centroid_offsets()
|
D | lp_bld_blend_aos.c | 449 result = lp_build_select(&bld.base, mask, result, dst); in lp_build_blend_aos()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm.c | 2287 …LLVMValueRef base_vertex = lp_build_select(&bld, have_elts, vertex_id_offset, lp_build_const_int32… in draw_llvm_generate() 2290 … LLVMValueRef first_vertex = lp_build_select(&bld, have_elts, vertex_id_offset, start_or_maxelt); in draw_llvm_generate()
|