Home
last modified time | relevance | path

Searched refs:f32_type (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_float.c85 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 …]
Dlp_bld_format_srgb.c99 struct lp_type f32_type = lp_type_float_vec(32, src_type.length * 32); in lp_build_srgb_to_linear() local
112 lp_build_context_init(&f32_bld, gallivm, f32_type); in lp_build_srgb_to_linear()
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()
142 is_linear = lp_build_compare(gallivm, f32_type, PIPE_FUNC_LEQUAL, srcf, lin_thresh); in lp_build_srgb_to_linear()
Dlp_bld_format.h194 struct lp_type f32_type,
Dlp_bld_conv.c99 struct lp_type f32_type = lp_type_float_vec(32, 32 * src_length); in lp_build_half_to_float() local
115 lp_build_vec_type(gallivm, f32_type), src); in lp_build_half_to_float()
120 return lp_build_smallfloat_to_float(gallivm, f32_type, h, 10, 5, 0, true); in lp_build_half_to_float()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c1083 struct lp_type f32_type = vs_type; in generate_viewport() local
1087 LLVMValueRef const1 = lp_build_const_vec(gallivm, f32_type, 1.0); /*1.0 1.0 1.0 1.0*/ in generate_viewport()
1149 struct lp_type f32_type = vs_type; in generate_clipmask() local
1172 zero = lp_build_const_vec(gallivm, f32_type, 0); /* 0.0f 0.0f 0.0f 0.0f */ in generate_clipmask()
1207 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, pos_x , pos_w); in generate_clipmask()
1214 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, zero, test); in generate_clipmask()
1220 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, pos_y, pos_w); in generate_clipmask()
1227 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, zero, test); in generate_clipmask()
1237 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, zero, pos_z); in generate_clipmask()
1244 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, zero, test); in generate_clipmask()
[all …]