Home
last modified time | relevance | path

Searched refs:i16_type (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_s3tc.c518 struct lp_type i16_type = lp_wider_type(type); in lp_build_lerp23() local
525 lp_build_context_init(&bld2, gallivm, i16_type); in lp_build_lerp23()
530 lp_build_unpack2(gallivm, type, i16_type, x, &x_lo, &x_hi); in lp_build_lerp23()
531 lp_build_unpack2(gallivm, type, i16_type, v0, &v0_lo, &v0_hi); in lp_build_lerp23()
532 lp_build_unpack2(gallivm, type, i16_type, v1, &v1_lo, &v1_hi); in lp_build_lerp23()
539 x_lo = LLVMBuildLShr(builder, mul_lo, lp_build_const_int_vec(gallivm, i16_type, 8), ""); in lp_build_lerp23()
540 x_hi = LLVMBuildLShr(builder, mul_hi, lp_build_const_int_vec(gallivm, i16_type, 8), ""); in lp_build_lerp23()
542 tmp = lp_build_pack2(gallivm, i16_type, type, x_lo, x_hi); in lp_build_lerp23()
545 x_lo = LLVMBuildLShr(builder, mul_lo, lp_build_const_int_vec(gallivm, i16_type, 7), ""); in lp_build_lerp23()
546 x_hi = LLVMBuildLShr(builder, mul_hi, lp_build_const_int_vec(gallivm, i16_type, 7), ""); in lp_build_lerp23()
[all …]
Dlp_bld_conv.c168 struct lp_type i16_type = lp_type_int_vec(16, 16 * length); in lp_build_float_to_half() local
204 result = LLVMBuildTrunc(builder, result, lp_build_vec_type(gallivm, i16_type), ""); in lp_build_float_to_half()