Searched refs:f32_type (Results 1 – 5 of 5) sorted by relevance
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_format_float.c | 85 struct lp_type f32_type = lp_type_float_vec(32, 32 * i32_type.length); in lp_build_float_to_smallfloat() local 87 LLVMValueRef zero = lp_build_const_vec(gallivm, f32_type, 0.0f); in lp_build_float_to_smallfloat() 92 lp_build_context_init(&f32_bld, gallivm, f32_type); in lp_build_float_to_smallfloat() 282 struct lp_type f32_type, in lp_build_smallfloat_to_float() argument 293 struct lp_type i32_type = lp_type_int_vec(32, 32 * f32_type.length); in lp_build_smallfloat_to_float() 296 lp_build_context_init(&f32_bld, gallivm, f32_type); in lp_build_smallfloat_to_float() 347 wasinfnan = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GEQUAL, srcabs, smallexpmask); in lp_build_smallfloat_to_float() 411 struct lp_type f32_type = lp_type_float_vec(32, 32 * src_length); in lp_build_r11g11b10_to_float() local 413 dst[0] = lp_build_smallfloat_to_float(gallivm, f32_type, src, 6, 5, 0, false); in lp_build_r11g11b10_to_float() 414 dst[1] = lp_build_smallfloat_to_float(gallivm, f32_type, src, 6, 5, 11, false); in lp_build_r11g11b10_to_float() [all …]
|
D | lp_bld_format_srgb.c | 100 struct lp_type f32_type = lp_type_float_vec(32, src_type.length * 32); in lp_build_srgb_to_linear() local 113 lp_build_context_init(&f32_bld, gallivm, f32_type); in lp_build_srgb_to_linear() 133 LLVMValueRef rescale_const = lp_build_const_vec(gallivm, f32_type, in lp_build_srgb_to_linear() 137 lin_const = lp_build_const_vec(gallivm, f32_type, 1.0f / (12.6f * 255.0f)); in lp_build_srgb_to_linear() 142 lin_thresh = lp_build_const_vec(gallivm, f32_type, 15.0f); in lp_build_srgb_to_linear() 143 is_linear = lp_build_compare(gallivm, f32_type, PIPE_FUNC_LEQUAL, srcf, lin_thresh); in lp_build_srgb_to_linear()
|
D | lp_bld_conv.c | 99 struct lp_type f32_type = lp_type_float_vec(32, 32 * src_length); in lp_build_half_to_float() local 116 lp_build_vec_type(gallivm, f32_type), src); in lp_build_half_to_float() 129 return LLVMBuildFPExt(builder, src, lp_build_vec_type(gallivm, f32_type), ""); in lp_build_half_to_float() 134 return lp_build_smallfloat_to_float(gallivm, f32_type, h, 10, 5, 0, true); in lp_build_half_to_float()
|
D | lp_bld_format.h | 221 struct lp_type f32_type,
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm.c | 1432 struct lp_type f32_type = vs_type; in generate_viewport() local 1436 LLVMValueRef const1 = lp_build_const_vec(gallivm, f32_type, 1.0); /*1.0 1.0 1.0 1.0*/ in generate_viewport() 1498 struct lp_type f32_type = vs_type; in generate_clipmask() local 1521 zero = lp_build_const_vec(gallivm, f32_type, 0); /* 0.0f 0.0f 0.0f 0.0f */ in generate_clipmask() 1556 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, pos_x , pos_w); in generate_clipmask() 1563 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, zero, test); in generate_clipmask() 1569 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, pos_y, pos_w); in generate_clipmask() 1576 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, zero, test); in generate_clipmask() 1586 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, zero, pos_z); in generate_clipmask() 1593 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, zero, test); in generate_clipmask() [all …]
|