Home
last modified time | relevance | path

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

/third_party/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.c100 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()
Dlp_bld_conv.c107 struct lp_type f32_type = lp_type_float_vec(32, 32 * src_length); in lp_build_half_to_float() local
126 lp_build_vec_type(gallivm, f32_type), src); in lp_build_half_to_float()
139 return LLVMBuildFPExt(builder, src, lp_build_vec_type(gallivm, f32_type), ""); in lp_build_half_to_float()
144 return lp_build_smallfloat_to_float(gallivm, f32_type, h, 10, 5, 0, true); in lp_build_half_to_float()
Dlp_bld_format.h226 struct lp_type f32_type,
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c1439 struct lp_type f32_type = vs_type; in generate_viewport() local
1443 LLVMValueRef const1 = lp_build_const_vec(gallivm, f32_type, 1.0); /*1.0 1.0 1.0 1.0*/ in generate_viewport()
1508 struct lp_type f32_type = vs_type; in generate_clipmask() local
1531 zero = lp_build_const_vec(gallivm, f32_type, 0); /* 0.0f 0.0f 0.0f 0.0f */ in generate_clipmask()
1568 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, pos_x , pos_w); in generate_clipmask()
1575 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, zero, test); in generate_clipmask()
1581 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, pos_y, pos_w); in generate_clipmask()
1588 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, zero, test); in generate_clipmask()
1598 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, zero, pos_z); in generate_clipmask()
1605 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, zero, test); in generate_clipmask()
[all …]
/third_party/skia/third_party/externals/tint/src/
DBUILD.gn393 "sem/f32_type.h",
546 "sem/f32_type.cc",
547 "sem/f32_type.h",
DCMakeLists.txt361 sem/f32_type.cc
362 sem/f32_type.h