Home
last modified time | relevance | path

Searched refs:_mesa_float_to_half (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/mesa/main/
Dformat_utils.h72 return _mesa_float_to_half(_mesa_unorm_to_float(x, src_bits)); in _mesa_unorm_to_half()
78 return _mesa_float_to_half(_mesa_snorm_to_float(x, src_bits)); in _mesa_snorm_to_half()
210 return _mesa_unsigned_to_unsigned(_mesa_float_to_half(src), dst_bits); in _mesa_half_to_unsigned()
Dformat_utils.c990 const uint16_t one = _mesa_float_to_half(1.0f); in convert_half_float()
994 SWIZZLE_CONVERT(uint16_t, float, _mesa_float_to_half(src)); in convert_half_float()
1003 SWIZZLE_CONVERT(uint16_t, uint8_t, _mesa_float_to_half(src)); in convert_half_float()
1010 SWIZZLE_CONVERT(uint16_t, int8_t, _mesa_float_to_half(src)); in convert_half_float()
1017 SWIZZLE_CONVERT(uint16_t, uint16_t, _mesa_float_to_half(src)); in convert_half_float()
1024 SWIZZLE_CONVERT(uint16_t, int16_t, _mesa_float_to_half(src)); in convert_half_float()
1031 SWIZZLE_CONVERT(uint16_t, uint32_t, _mesa_float_to_half(src)); in convert_half_float()
1038 SWIZZLE_CONVERT(uint16_t, int32_t, _mesa_float_to_half(src)); in convert_half_float()
Dtexcompress_bptc.c1496 half = _mesa_float_to_half(value); in get_endpoint_value()
1513 half = _mesa_float_to_half(value); in get_endpoint_value()
Dmipmap.c135 dst[i][e] = _mesa_float_to_half((aj + ak + bj + bk + cj + ck + dj + dk) \
421 dst[i][comp] = _mesa_float_to_half((aj + ak + bj + bk) * 0.25F); in do_row()
438 dst[i][comp] = _mesa_float_to_half((aj + ak + bj + bk) * 0.25F); in do_row()
455 dst[i][comp] = _mesa_float_to_half((aj + ak + bj + bk) * 0.25F); in do_row()
471 dst[i] = _mesa_float_to_half((aj + ak + bj + bk) * 0.25F); in do_row()
Dpack.c710 dst[i] = _mesa_float_to_half( (float) source[i] ); in _mesa_pack_stencil_span()
1133 dst[i] = _mesa_float_to_half(depthSpan[i]); in _mesa_pack_depth_span()
/external/mesa3d/src/util/
Dhalf_float.h34 uint16_t _mesa_float_to_half(float val);
Dhalf_float.c51 _mesa_float_to_half(float val) in _mesa_float_to_half() function
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_sampler_state.c382 sdc->hf[0] = _mesa_float_to_half(color.f[0]); in upload_default_color()
383 sdc->hf[1] = _mesa_float_to_half(color.f[1]); in upload_default_color()
384 sdc->hf[2] = _mesa_float_to_half(color.f[2]); in upload_default_color()
385 sdc->hf[3] = _mesa_float_to_half(color.f[3]); in upload_default_color()
/external/mesa3d/prebuilt-intermediates/main/
Dformat_pack.c6898 _mesa_float_to_half(src[3]); in pack_float_a_float16()
6922 _mesa_float_to_half(src[0]); in pack_float_l_float16()
6946 _mesa_float_to_half(src[0]); in pack_float_la_float16()
6950 _mesa_float_to_half(src[3]); in pack_float_la_float16()
6980 _mesa_float_to_half(src[0]); in pack_float_i_float16()
7004 _mesa_float_to_half(src[0]); in pack_float_r_float16()
7028 _mesa_float_to_half(src[0]); in pack_float_rg_float16()
7032 _mesa_float_to_half(src[1]); in pack_float_rg_float16()
7062 _mesa_float_to_half(src[0]); in pack_float_rgb_float16()
7066 _mesa_float_to_half(src[1]); in pack_float_rgb_float16()
[all …]
/external/mesa3d/src/compiler/glsl/
Dir_constant_expression.cpp365 return _mesa_float_to_half(x); in pack_half_1x16()
/external/mesa3d/prebuilt-intermediates/nir/
Dnir_constant_expressions.c193 return _mesa_float_to_half(x); in pack_half_1x16()
5210 …src0) < ldexpf(1.0, -14)) ? copysignf(0.0f, src0) : _mesa_half_to_float(_mesa_float_to_half(src0)); in evaluate_fquantize2f16()
5225 …src0) < ldexpf(1.0, -14)) ? copysignf(0.0f, src0) : _mesa_half_to_float(_mesa_float_to_half(src0)); in evaluate_fquantize2f16()
/external/mesa3d/src/intel/blorp/
Dblorp_blit.c2244 bits.u32[i] = _mesa_float_to_half(color.f32[i]); in bitcast_color_value_to_uint()