Searched refs:_mesa_float_to_half (Results 1 - 25 of 67) sorted by relevance

123

/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Dhalf_float.h38 uint16_t _mesa_float_to_half(float val);
H A Dhalf_float.c54 _mesa_float_to_half(float val) function in typeref:typename:uint16_t
/xsrc/external/mit/MesaLib/dist/src/util/
H A Dhalf_float.h59 _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 Detnaviv_blend.c183 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 Detnaviv_zsa.c96 extra_reference = _mesa_float_to_half(SATURATE(so->alpha_ref_value));
/xsrc/external/mit/MesaLib/dist/src/gallium/tests/unit/
H A Du_half_test.c22 rh = _mesa_float_to_half(f.f);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Dformat_utils.h73 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 Dformat_utils.c1005 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 Dformat_utils.h60 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 Dvir_opt_constant_alu.c77 (((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 Dvertexshader9.h115 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 Dvp-array-hf.c18 _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 Dv3dvx_device.c97 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 Dnir_constant_expressions.c195 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 Dfreedreno_texture.c177 _mesa_float_to_half(sampler->border_color.f[j]);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv30/
H A Dnv30_state_validate.c185 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 Dnegative_equal_tests.cpp231 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 Dlp_bld_const.c260 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 Dformat_utils.c1033 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 Duniform_query.cpp1147 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 Dnegative_equal_tests.cpp323 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 Dagx_pipe.c457 _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 Dv3dx_state.c55 _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 Dbrw_fs_combine_constants.cpp239 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 Dnir_opt_phi_precision.c288 _mesa_float_to_half(lc->value[i].f32)))

Completed in 45 milliseconds

123