Home
last modified time | relevance | path

Searched refs:_mesa_half_to_float (Results 1 – 25 of 30) sorted by relevance

12

/external/mesa3d/prebuilt-intermediates/nir/
Dnir_constant_expressions.c229 return _mesa_half_to_float(u); in unpack_half_1x16_flush_to_zero()
238 return _mesa_half_to_float(u); in unpack_half_1x16()
684 _mesa_half_to_float(_src[0][0].u16), in evaluate_b16all_fequal16()
685 _mesa_half_to_float(_src[0][1].u16), in evaluate_b16all_fequal16()
686 _mesa_half_to_float(_src[0][2].u16), in evaluate_b16all_fequal16()
687 _mesa_half_to_float(_src[0][3].u16), in evaluate_b16all_fequal16()
688 _mesa_half_to_float(_src[0][4].u16), in evaluate_b16all_fequal16()
689 _mesa_half_to_float(_src[0][5].u16), in evaluate_b16all_fequal16()
690 _mesa_half_to_float(_src[0][6].u16), in evaluate_b16all_fequal16()
691 _mesa_half_to_float(_src[0][7].u16), in evaluate_b16all_fequal16()
[all …]
/external/mesa3d/src/mesa/main/
Dformat_utils.h96 return _mesa_float_to_unorm(_mesa_half_to_float(x), dst_bits); in _mesa_half_to_unorm()
142 return _mesa_float_to_snorm(_mesa_half_to_float(x), dst_bits); in _mesa_half_to_snorm()
217 return _mesa_float_to_signed(_mesa_half_to_float(src), dst_bits); in _mesa_half_to_signed()
Dmipmap.c152 const GLfloat aj = _mesa_half_to_float(rowA[j][e]); \
153 const GLfloat ak = _mesa_half_to_float(rowA[k][e]); \
154 const GLfloat bj = _mesa_half_to_float(rowB[j][e]); \
155 const GLfloat bk = _mesa_half_to_float(rowB[k][e]); \
156 const GLfloat cj = _mesa_half_to_float(rowC[j][e]); \
157 const GLfloat ck = _mesa_half_to_float(rowC[k][e]); \
158 const GLfloat dj = _mesa_half_to_float(rowD[j][e]); \
159 const GLfloat dk = _mesa_half_to_float(rowD[k][e]); \
442 aj = _mesa_half_to_float(rowA[j][comp]); in do_row()
443 ak = _mesa_half_to_float(rowA[k][comp]); in do_row()
[all …]
Dpack.c419 indexes[i] = (GLuint) _mesa_half_to_float(value); in extract_uint_indexes()
424 indexes[i] = (GLuint) _mesa_half_to_float(s[i]); in extract_uint_indexes()
917 depthValues[i] = _mesa_half_to_float(value); in _mesa_unpack_depth_span()
Dtexcompress_bptc_tmp.h1036 result[component] = _mesa_half_to_float(value); in fetch_rgb_float_from_block()
1135 result[component] = _mesa_half_to_float(value); in decompress_rgb_float_block()
Dformat_utils.c979 SWIZZLE_CONVERT(float, uint16_t, _mesa_half_to_float(src)); in convert_float()
/external/mesa3d/src/intel/compiler/
Dbrw_fs_combine_constants.cpp237 val = _mesa_float_to_half(fabsf(_mesa_half_to_float(val))); in get_constant_value()
328 u.f = _mesa_half_to_float(h); in representable_as_hf()
507 assert((isnan(_mesa_half_to_float(reg->d & 0xffffu)) && in opt_combine_constants()
508 isnan(_mesa_half_to_float(table.imm[i].w))) || in opt_combine_constants()
509 (fabsf(_mesa_half_to_float(reg->d & 0xffffu)) == in opt_combine_constants()
510 fabsf(_mesa_half_to_float(table.imm[i].w)))); in opt_combine_constants()
/external/mesa3d/src/gallium/tests/unit/
Du_half_test.c21 f.f = _mesa_half_to_float(h); in test()
/external/mesa3d/src/compiler/glsl/
Dopt_minmax.cpp146 float af = _mesa_half_to_float(a->value.f16[c0]); in compare_components()
147 float bf = _mesa_half_to_float(b->value.f16[c1]); in compare_components()
223 float bf = _mesa_half_to_float(b->value.f16[i]); in combine_constant()
224 float cf = _mesa_half_to_float(c->value.f16[i]); in combine_constant()
Dir.cpp1120 case GLSL_TYPE_FLOAT16: return ((int)_mesa_half_to_float(this->value.f16[i])) != 0; in get_bool_component()
1145 case GLSL_TYPE_FLOAT16: return _mesa_half_to_float(this->value.f16[i]); in get_float_component()
1179 case GLSL_TYPE_FLOAT16: return (double) _mesa_half_to_float(this->value.f16[i]); in get_double_component()
1204 case GLSL_TYPE_FLOAT16: return (int16_t) _mesa_half_to_float(this->value.f16[i]); in get_int16_component()
1229 case GLSL_TYPE_FLOAT16: return (uint16_t) _mesa_half_to_float(this->value.f16[i]); in get_uint16_component()
1254 case GLSL_TYPE_FLOAT16: return (int) _mesa_half_to_float(this->value.f16[i]); in get_int_component()
1279 case GLSL_TYPE_FLOAT16: return (unsigned) _mesa_half_to_float(this->value.f16[i]); in get_uint_component()
1304 case GLSL_TYPE_FLOAT16: return (int64_t) _mesa_half_to_float(this->value.f16[i]); in get_int64_component()
1329 case GLSL_TYPE_FLOAT16: return (uint64_t) _mesa_half_to_float(this->value.f16[i]); in get_uint64_component()
1543 if (_mesa_half_to_float(this->value.f16[i]) != in has_value()
[all …]
Dir_constant_expression.cpp416 return _mesa_half_to_float(u); in unpack_half_1x16()
723 f.f[i] = _mesa_half_to_float(op[operand]->value.f16[i]); in constant_expression_value()
Dir_print_visitor.cpp501 print_float_constant(f, _mesa_half_to_float(ir->value.f16[i])); in visit()
/external/mesa3d/src/util/
Dhalf_float.h75 _mesa_half_to_float(uint16_t val) in _mesa_half_to_float() function
/external/mesa3d/src/mesa/vbo/
Dvbo_attrib_tmp.h64 #define ATTR1HV( A, V ) ATTRF( A, 1, _mesa_half_to_float((uint16_t)(V)[0]), \
66 #define ATTR2HV( A, V ) ATTRF( A, 2, _mesa_half_to_float((uint16_t)(V)[0]), \
67 _mesa_half_to_float((uint16_t)(V)[1]), 0, 1 )
68 #define ATTR3HV( A, V ) ATTRF( A, 3, _mesa_half_to_float((uint16_t)(V)[0]), \
69 _mesa_half_to_float((uint16_t)(V)[1]), \
70 _mesa_half_to_float((uint16_t)(V)[2]), 1 )
71 #define ATTR4HV( A, V ) ATTRF( A, 4, _mesa_half_to_float((uint16_t)(V)[0]), \
72 _mesa_half_to_float((uint16_t)(V)[1]), \
73 _mesa_half_to_float((uint16_t)(V)[2]), \
74 _mesa_half_to_float((uint16_t)(V)[3]) )
[all …]
/external/mesa3d/prebuilt-intermediates/main/
Dformat_unpack.c1705 dst[3] = _mesa_half_to_float(a); in unpack_float_a_float16()
1733 dst[0] = _mesa_half_to_float(l); in unpack_float_l_float16()
1736 dst[1] = _mesa_half_to_float(l); in unpack_float_l_float16()
1739 dst[2] = _mesa_half_to_float(l); in unpack_float_l_float16()
1772 dst[0] = _mesa_half_to_float(l); in unpack_float_la_float16()
1775 dst[1] = _mesa_half_to_float(l); in unpack_float_la_float16()
1778 dst[2] = _mesa_half_to_float(l); in unpack_float_la_float16()
1781 dst[3] = _mesa_half_to_float(a); in unpack_float_la_float16()
1813 dst[0] = _mesa_half_to_float(i); in unpack_float_i_float16()
1816 dst[1] = _mesa_half_to_float(i); in unpack_float_i_float16()
[all …]
/external/mesa3d/src/panfrost/midgard/
Dmidgard_print_constant.c136 float v = _mesa_half_to_float(consts->f16[c]); in mir_print_constant_component()
Ddisassemble.c505 fprintf(fp, "#%g", _mesa_half_to_float(imm)); in print_immediate()
/external/mesa3d/src/compiler/nir/
Dnir_instr_set.c377 return _mesa_half_to_float(c1.u16) == -_mesa_half_to_float(c2.u16); in nir_const_value_negative_equal()
Dnir_print.c389 fprintf(fp, "%f", _mesa_half_to_float(c->values[i].u16)); in print_constant()
1301 _mesa_half_to_float(instr->value[i].u16)); in print_load_const_instr()
/external/mesa3d/src/compiler/nir/tests/
Dnegative_equal_tests.cpp379 dst[i].u16 = _mesa_float_to_half(-_mesa_half_to_float(src[i].u16)); in negate()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_disasm.c382 printf("%f/%.5X", _mesa_half_to_float(src->imm_val), src->imm_val); in print_src()
/external/mesa3d/src/freedreno/ir3/
Dir3_cp.c172 reg->uim_val = fui(_mesa_half_to_float(reg->uim_val)); in lower_immed()
/external/mesa3d/src/gallium/drivers/lima/ir/pp/
Ddisasm.c177 printf(" %f", _mesa_half_to_float(val[i])); in print_const()
/external/mesa3d/src/mesa/tnl/
Dt_draw.c130 *fptr++ = _mesa_half_to_float(in[j]); in convert_half_to_float()
/external/mesa3d/src/panfrost/bifrost/test/
Dbi_interpret.c93 #define bf _mesa_half_to_float

12