| /xsrc/external/mit/MesaLib.old/dist/src/util/ |
| H A D | half_float.h | 38 uint16_t _mesa_float_to_half(float val);
|
| H A D | half_float.c | 54 _mesa_float_to_half(float val) function in typeref:typename:uint16_t
|
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| H A D | half_float.h | 59 _mesa_float_to_half(float val) function in typeref:typename:uint16_t 108 return _mesa_float_to_half(val); 124 float16_t(float f) : bits(_mesa_float_to_half(f)) {} 125 float16_t(double d) : bits(_mesa_float_to_half(d)) {}
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/ |
| H A D | etnaviv_blend.c | 183 VIVS_PE_ALPHA_COLOR_EXT0_B(_mesa_float_to_half(cs->color[rb_swap ? 2 : 0])) | 184 VIVS_PE_ALPHA_COLOR_EXT0_G(_mesa_float_to_half(cs->color[1])); 186 VIVS_PE_ALPHA_COLOR_EXT1_R(_mesa_float_to_half(cs->color[rb_swap ? 0 : 2])) | 187 VIVS_PE_ALPHA_COLOR_EXT1_A(_mesa_float_to_half(cs->color[3]));
|
| H A D | etnaviv_zsa.c | 96 extra_reference = _mesa_float_to_half(SATURATE(so->alpha_ref_value));
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/tests/unit/ |
| H A D | u_half_test.c | 22 rh = _mesa_float_to_half(f.f);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| H A D | format_utils.h | 73 return _mesa_float_to_half(_mesa_unorm_to_float(x, src_bits)); 79 return _mesa_float_to_half(_mesa_snorm_to_float(x, src_bits)); 211 return _mesa_unsigned_to_unsigned(_mesa_float_to_half(src), dst_bits);
|
| H A D | format_utils.c | 1005 const uint16_t one = _mesa_float_to_half(1.0f); 1009 SWIZZLE_CONVERT(uint16_t, float, _mesa_float_to_half(src)); 1018 SWIZZLE_CONVERT(uint16_t, uint8_t, _mesa_float_to_half(src)); 1025 SWIZZLE_CONVERT(uint16_t, int8_t, _mesa_float_to_half(src)); 1032 SWIZZLE_CONVERT(uint16_t, uint16_t, _mesa_float_to_half(src)); 1039 SWIZZLE_CONVERT(uint16_t, int16_t, _mesa_float_to_half(src)); 1046 SWIZZLE_CONVERT(uint16_t, uint32_t, _mesa_float_to_half(src)); 1053 SWIZZLE_CONVERT(uint16_t, int32_t, _mesa_float_to_half(src));
|
| /xsrc/external/mit/MesaLib/dist/src/util/format/ |
| H A D | format_utils.h | 60 return _mesa_float_to_half(_mesa_unorm_to_float(x, src_bits)); 66 return _mesa_float_to_half(_mesa_snorm_to_float(x, src_bits)); 198 return _mesa_unsigned_to_unsigned(_mesa_float_to_half(src), dst_bits);
|
| /xsrc/external/mit/MesaLib/dist/src/broadcom/compiler/ |
| H A D | vir_opt_constant_alu.c | 77 (((uint32_t)_mesa_float_to_half(values[1].f)) << 16) | 78 _mesa_float_to_half(values[0].f);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/nine/ |
| H A D | vertexshader9.h | 115 key |= ((uint64_t)_mesa_float_to_half(asfloat(context->rs[D3DRS_POINTSIZE_MIN]))) << 32; 116 key |= ((uint64_t)_mesa_float_to_half(asfloat(context->rs[D3DRS_POINTSIZE_MAX]))) << 48;
|
| /xsrc/external/mit/mesa-demos/dist/src/trivial/ |
| H A D | vp-array-hf.c | 18 _mesa_float_to_half(GLfloat val) function in typeref:typename:GLhalf 151 hverts[i * 4 + j] = _mesa_float_to_half(verts[i][j]);
|
| /xsrc/external/mit/MesaLib/dist/src/broadcom/vulkan/ |
| H A D | v3dvx_device.c | 97 border.ui[i] = _mesa_float_to_half(border.f[i]); 112 border.ui[i] = _mesa_float_to_half(border.f[i]); 130 border.ui[i] = _mesa_float_to_half(border.f[i]); 138 border.ui[i] = _mesa_float_to_half(border.f[i]);
|
| /xsrc/external/mit/MesaLib.old/src/compiler/nir/ |
| H A D | nir_constant_expressions.c | 195 return _mesa_float_to_half(x); 329 _dst_val[_i].u16 = _mesa_float_to_half(dst); 345 _dst_val[_i].u16 = _mesa_float_to_half(dst); 4738 _dst_val[_i].u16 = _mesa_float_to_half(dst); 4754 _dst_val[_i].u16 = _mesa_float_to_half(dst); 4770 _dst_val[_i].u16 = _mesa_float_to_half(dst); 4798 _dst_val[_i].u16 = _mesa_float_to_half(dst); 4814 _dst_val[_i].u16 = _mesa_float_to_half(dst); 4830 _dst_val[_i].u16 = _mesa_float_to_half(dst); 4858 _dst_val[_i].u16 = _mesa_float_to_half(ds [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/ |
| H A D | freedreno_texture.c | 177 _mesa_float_to_half(sampler->border_color.f[j]);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv30/ |
| H A D | nv30_state_validate.c | 185 PUSH_DATA (push, (_mesa_float_to_half(rgba[0]) << 0) | 186 (_mesa_float_to_half(rgba[1]) << 16)); 188 PUSH_DATA (push, (_mesa_float_to_half(rgba[2]) << 0) | 189 (_mesa_float_to_half(rgba[3]) << 16));
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/tests/ |
| H A D | negative_equal_tests.cpp | 231 c[i].u16 = _mesa_float_to_half(float(i + first)); 302 dst[i].u16 = _mesa_float_to_half(-_mesa_half_to_float(src[i].u16));
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/ |
| H A D | lp_bld_const.c | 260 elems[0] = LLVMConstInt(elem_type, _mesa_float_to_half(1.0f), 0); 307 elem = LLVMConstInt(elem_type, _mesa_float_to_half((float)val), 0);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| H A D | format_utils.c | 1033 const uint16_t one = _mesa_float_to_half(1.0f); 1037 SWIZZLE_CONVERT(uint16_t, float, _mesa_float_to_half(src)); 1046 SWIZZLE_CONVERT(uint16_t, uint8_t, _mesa_float_to_half(src)); 1053 SWIZZLE_CONVERT(uint16_t, int8_t, _mesa_float_to_half(src)); 1060 SWIZZLE_CONVERT(uint16_t, uint16_t, _mesa_float_to_half(src)); 1067 SWIZZLE_CONVERT(uint16_t, int16_t, _mesa_float_to_half(src)); 1074 SWIZZLE_CONVERT(uint16_t, uint32_t, _mesa_float_to_half(src)); 1081 SWIZZLE_CONVERT(uint16_t, int32_t, _mesa_float_to_half(src));
|
| H A D | uniform_query.cpp | 1147 if (dst[c] != _mesa_float_to_half(src[c].f)) { 1167 dst[c] = _mesa_float_to_half(src[c].f); 1480 _mesa_float_to_half(src[(c * components) + r])) { 1505 _mesa_float_to_half(src[(c * components) + r]); 1527 _mesa_float_to_half(src[c + (r * vectors)])) { 1552 _mesa_float_to_half(src[c + (r * vectors)]);
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/tests/ |
| H A D | negative_equal_tests.cpp | 323 c[i].u16 = _mesa_float_to_half(float(i + first)); 381 dst[i].u16 = _mesa_float_to_half(-_mesa_half_to_float(src[i].u16));
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/asahi/ |
| H A D | agx_pipe.c | 457 _mesa_float_to_half(ctx->batch->clear_color[0]), 458 _mesa_float_to_half(ctx->batch->clear_color[1]), 459 _mesa_float_to_half(ctx->batch->clear_color[2]), 460 _mesa_float_to_half(ctx->batch->clear_color[3])
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/v3d/ |
| H A D | v3dx_state.c | 55 _mesa_float_to_half(blend_color->color[i]); 697 _mesa_float_to_half(border.f[0]); 699 _mesa_float_to_half(border.f[1]); 701 _mesa_float_to_half(border.f[2]); 703 _mesa_float_to_half(border.f[3]);
|
| /xsrc/external/mit/MesaLib/dist/src/intel/compiler/ |
| H A D | brw_fs_combine_constants.cpp | 239 val = _mesa_float_to_half(fabsf(_mesa_half_to_float(val))); 329 uint16_t h = _mesa_float_to_half(f);
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| H A D | nir_opt_phi_precision.c | 288 _mesa_float_to_half(lc->value[i].f32)))
|