Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dimports.c330 const int flt_m = fi.i & 0x7fffff; in _mesa_float_to_half() local
340 if ((flt_e == 0) && (flt_m == 0)) { in _mesa_float_to_half()
345 else if ((flt_e == 0) && (flt_m != 0)) { in _mesa_float_to_half()
350 else if ((flt_e == 0xff) && (flt_m == 0)) { in _mesa_float_to_half()
355 else if ((flt_e == 0xff) && (flt_m != 0)) { in _mesa_float_to_half()
378 case 1: m = 512 + (flt_m >> 14); break; in _mesa_float_to_half()
379 case 2: m = 256 + (flt_m >> 15); break; in _mesa_float_to_half()
380 case 3: m = 128 + (flt_m >> 16); break; in _mesa_float_to_half()
381 case 4: m = 64 + (flt_m >> 17); break; in _mesa_float_to_half()
382 case 5: m = 32 + (flt_m >> 18); break; in _mesa_float_to_half()
[all …]