/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_format_srgb.c | 132 LLVMValueRef rescale_const = lp_build_const_vec(gallivm, f32_type, in lp_build_srgb_to_linear() 136 lin_const = lp_build_const_vec(gallivm, f32_type, 1.0f / (12.6f * 255.0f)); in lp_build_srgb_to_linear() 141 lin_thresh = lp_build_const_vec(gallivm, f32_type, 15.0f); in lp_build_srgb_to_linear() 192 exponent = lp_build_const_vec(gallivm, src_type, exp_f); in lp_build_linear_to_srgb() 193 coeff = lp_build_const_vec(gallivm, src_type, in lp_build_linear_to_srgb() 227 coeff = lp_build_const_vec(gallivm, src_type, in lp_build_linear_to_srgb() 241 lp_build_const_vec(gallivm, src_type, -0.055f * 255.0f)); in lp_build_linear_to_srgb() 287 a_const = lp_build_const_vec(gallivm, src_type, 0.675f * 1.0622 * 255.0f); in lp_build_linear_to_srgb() 288 b_const = lp_build_const_vec(gallivm, src_type, 0.325f * 1.0622 * 255.0f); in lp_build_linear_to_srgb() 289 c_const = lp_build_const_vec(gallivm, src_type, -0.0620f * 255.0f); in lp_build_linear_to_srgb() [all …]
|
D | lp_bld_conv.c | 273 res = LLVMBuildFMul(builder, src, lp_build_const_vec(gallivm, src_type, scale), ""); in lp_build_clamped_float_to_unsigned_norm() 275 res = LLVMBuildFAdd(builder, res, lp_build_const_vec(gallivm, src_type, bias), ""); in lp_build_clamped_float_to_unsigned_norm() 294 lp_build_const_vec(gallivm, src_type, scale), ""); in lp_build_clamped_float_to_unsigned_norm() 323 lp_build_const_vec(gallivm, src_type, scale), ""); in lp_build_clamped_float_to_unsigned_norm() 396 lp_build_const_vec(gallivm, dst_type, scale), ""); in lp_build_unsigned_norm_to_float() 420 bias_ = lp_build_const_vec(gallivm, dst_type, bias); in lp_build_unsigned_norm_to_float() 429 res = LLVMBuildFMul(builder, res, lp_build_const_vec(gallivm, dst_type, scale), ""); in lp_build_unsigned_norm_to_float() 604 const_scale = lp_build_const_vec(gallivm, src_type, lp_const_scale(dst_type)); in lp_build_conv() 715 const_scale = lp_build_const_vec(gallivm, src_type, lp_const_scale(dst_type)); in lp_build_conv() 803 thres = lp_build_const_vec(gallivm, src_type, dst_min); in lp_build_conv() [all …]
|
D | lp_bld_arit.c | 1248 shift = lp_build_const_vec(gallivm, type_tmp, 32); in lp_build_mul_32_lohi() 1331 factor = lp_build_const_vec(bld->gallivm, bld->type, shift); in lp_build_mul_imm() 1336 factor = lp_build_const_vec(bld->gallivm, bld->type, (double)b); in lp_build_mul_imm() 1885 LLVMValueRef minus_one = lp_build_const_vec(bld->gallivm, type, -1.0); in lp_build_sgn() 2123 LLVMValueRef cmpval = lp_build_const_vec(bld->gallivm, type, 1<<24); in lp_build_trunc() 2178 LLVMValueRef cmpval = lp_build_const_vec(bld->gallivm, type, 1<<24); in lp_build_round() 2231 LLVMValueRef cmpval = lp_build_const_vec(bld->gallivm, type, 1<<24); in lp_build_floor() 2306 LLVMValueRef cmpval = lp_build_const_vec(bld->gallivm, type, 1<<24); in lp_build_ceil() 2378 max = lp_build_const_vec(bld->gallivm, bld->type, in clamp_fract() 2447 half = lp_build_const_vec(bld->gallivm, type, 0.5); in lp_build_iround() [all …]
|
D | lp_bld_format_soa.c | 207 LLVMValueRef scale_val = lp_build_const_vec(gallivm, type, scale); in lp_build_extract_soa_chan() 215 lp_build_const_vec(gallivm, type, -1.0f)); in lp_build_extract_soa_chan() 256 LLVMValueRef scale_val = lp_build_const_vec(gallivm, type, scale); in lp_build_extract_soa_chan() 735 rgba_out[3] = lp_build_const_vec(gallivm, type, 1.0f); in lp_build_fetch_rgba_soa()
|
D | lp_bld_sample.c | 579 lp_build_const_vec(bld->gallivm, bld->type, pre_offset)); in lp_build_brilinear_lod() 584 lp_build_const_vec(bld->gallivm, bld->type, factor), in lp_build_brilinear_lod() 585 lp_build_const_vec(bld->gallivm, bld->type, post_offset)); in lp_build_brilinear_lod() 632 lp_build_const_vec(bld->gallivm, bld->type, pre_factor)); in lp_build_brilinear_rho() 641 lp_build_const_vec(bld->gallivm, bld->type, factor), in lp_build_brilinear_rho() 642 lp_build_const_vec(bld->gallivm, bld->type, post_offset)); in lp_build_brilinear_rho() 821 lp_build_const_vec(bld->gallivm, lodf_bld->type, 0.5F)); in lp_build_lod_selector() 1590 LLVMValueRef posHalf = lp_build_const_vec(coord_bld->gallivm, coord_bld->type, 0.5); in lp_build_cube_imapos() 1654 LLVMValueRef posHalf = lp_build_const_vec(gallivm, coord_bld->type, 0.5); in lp_build_cube_lookup() 2048 x_stride = lp_build_const_vec(bld->gallivm, bld->type, in lp_build_sample_offset()
|
D | lp_bld_const.h | 93 lp_build_const_vec(struct gallivm_state *gallivm, struct lp_type type,
|
D | lp_bld_format_float.c | 87 LLVMValueRef zero = lp_build_const_vec(gallivm, f32_type, 0.0f); in lp_build_float_to_smallfloat() 169 i32_qnanbit = lp_build_const_vec(gallivm, i32_type, 1 << 22); in lp_build_float_to_smallfloat()
|
D | lp_bld_sample_soa.c | 231 LLVMValueRef half = lp_build_const_vec(bld->gallivm, coord_bld->type, 0.5); in lp_build_coord_mirror() 276 LLVMValueRef half = lp_build_const_vec(bld->gallivm, coord_bld->type, 0.5); in lp_build_coord_repeat_npot_linear() 324 LLVMValueRef half = lp_build_const_vec(bld->gallivm, coord_bld->type, 0.5); in lp_build_sample_wrap_linear() 1114 LLVMValueRef half = lp_build_const_vec(bld->gallivm, coord_bld->type, 0.5f); in lp_build_sample_image_linear() 1301 LLVMValueRef half = lp_build_const_vec(bld->gallivm, c_bld->type, 0.5f); in lp_build_sample_image_linear() 1390 one_third = lp_build_const_vec(bld->gallivm, coord_bld->type, in lp_build_sample_image_linear() 2262 min_clamp = lp_build_const_vec(gallivm, vec4_type, -1.0F); in lp_build_clamp_border_color() 2357 min_clamp = lp_build_const_vec(gallivm, vec4_type, -1.0F); in lp_build_clamp_border_color() 2380 min_clamp = lp_build_const_vec(gallivm, vec4_type, -1.0F); in lp_build_clamp_border_color() 2398 max_clamp = lp_build_const_vec(gallivm, vec4_type, MAX_RGB9E5); in lp_build_clamp_border_color() [all …]
|
D | lp_bld_sample_aos.c | 458 LLVMValueRef half = lp_build_const_vec(bld->gallivm, coord_bld->type, 0.5); in lp_build_sample_wrap_linear_float() 688 x_stride = lp_build_const_vec(bld->gallivm, in lp_build_sample_image_nearest() 1134 x_stride = lp_build_const_vec(bld->gallivm, bld->int_coord_bld.type, in lp_build_sample_image_linear() 1298 x_stride = lp_build_const_vec(bld->gallivm, in lp_build_sample_image_linear_afloat() 1472 LLVMValueRef h16vec_scale = lp_build_const_vec(bld->gallivm, in lp_build_sample_mipmap()
|
D | lp_bld_tgsi_action.c | 936 one = lp_build_const_vec(bld_base->dbl_bld.gallivm, bld_base->dbl_bld.type, 1.0f); in drcp_emit() 1579 LLVMValueRef mask = lp_build_const_vec(int_bld->gallivm, int_bld->type, in ishr_emit_cpu() 1855 LLVMValueRef mask = lp_build_const_vec(uint_bld->gallivm, uint_bld->type, in shl_emit_cpu() 2054 LLVMValueRef mask = lp_build_const_vec(uint_bld->gallivm, uint_bld->type, in ushr_emit_cpu() 2367 LLVMValueRef mask = lp_build_const_vec(uint_bld->gallivm, uint_bld->type, in u64shl_emit_cpu() 2381 LLVMValueRef mask = lp_build_const_vec(int_bld->gallivm, int_bld->type, in i64shr_emit_cpu() 2395 LLVMValueRef mask = lp_build_const_vec(uint_bld->gallivm, uint_bld->type, in u64shr_emit_cpu()
|
D | lp_bld_const.c | 325 lp_build_const_vec(struct gallivm_state *gallivm, struct lp_type type, in lp_build_const_vec() function
|
D | lp_bld_tgsi_soa.c | 2324 lod = lp_build_const_vec(gallivm, bld->bld_base.base.type, 0.0F); in emit_sample() 2928 lp_build_const_vec(gallivm, bld_base->base.type, imm->u[i].Float); in lp_emit_immediate_soa() 2936 LLVMValueRef tmp = lp_build_const_vec(gallivm, bld_base->uint_bld.type, imm->u[i].Uint); in lp_emit_immediate_soa() 2943 LLVMValueRef tmp = lp_build_const_vec(gallivm, bld_base->int_bld.type, imm->u[i].Int); in lp_emit_immediate_soa()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_bld_blend.c | 290 lp_build_const_vec(bld->gallivm, bld->type, -1.0)); in lp_build_blend() 294 lp_build_const_vec(bld->gallivm, bld->type, -1.0)); in lp_build_blend() 331 alpha_ref_value = lp_build_const_vec(gallivm, type, 0.5); in lp_build_alpha_to_coverage()
|
D | lp_state_setup.c | 510 pos_half = lp_build_const_vec(gallivm, type, +0.5f); in emit_apply_cyl_wrap() 511 neg_half = lp_build_const_vec(gallivm, type, -0.5f); in emit_apply_cyl_wrap() 514 one = lp_build_const_vec(gallivm, type, 1.0f); in emit_apply_cyl_wrap() 654 pixel_center = lp_build_const_vec(gallivm, typef4, in init_args()
|
D | lp_bld_interp.c | 287 a = lp_build_const_vec(gallivm, coeff_bld->type, bld->pos_offset); in attribs_update_simple() 293 a = lp_build_const_vec(gallivm, coeff_bld->type, bld->pos_offset); in attribs_update_simple()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm.c | 1087 LLVMValueRef const1 = lp_build_const_vec(gallivm, f32_type, 1.0); /*1.0 1.0 1.0 1.0*/ in generate_viewport() 1172 zero = lp_build_const_vec(gallivm, f32_type, 0); /* 0.0f 0.0f 0.0f 0.0f */ in generate_clipmask() 1325 LLVMValueRef one = lp_build_const_vec(gallivm, f32_type, 1.0); in generate_clipmask() 2211 LLVMValueRef mask_val = lp_build_const_vec(gallivm, mask_type, 0); in generate_mask_value()
|