Searched refs:FP16_ONE (Results 1 - 6 of 6) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Dhalf_float.h35 #define FP16_ONE 0x3C00 macro
H A Dhalf_float.c200 assert(s == 0 && val <= FP16_ONE); /* check 0 <= this <= 1 */
/xsrc/external/mit/MesaLib/dist/src/util/
H A Dhalf_float.h42 #define FP16_ONE ((uint16_t) 0x3c00) macro
127 static float16_t one() { return float16_t(FP16_ONE); }
H A Dhalf_float.c188 assert(s == 0 && val <= FP16_ONE); /* check 0 <= this <= 1 */
/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Dtexcompress_astc.cpp664 output[i*4+0] = FP16_ONE;
666 output[i*4+2] = FP16_ONE;
667 output[i*4+3] = FP16_ONE;
1713 output[idx*4+0] = c[0] == 65535 ? FP16_ONE : _mesa_uint16_div_64k_to_half(c[0]);
1714 output[idx*4+1] = c[1] == 65535 ? FP16_ONE : _mesa_uint16_div_64k_to_half(c[1]);
1715 output[idx*4+2] = c[2] == 65535 ? FP16_ONE : _mesa_uint16_div_64k_to_half(c[2]);
1716 output[idx*4+3] = c[3] == 65535 ? FP16_ONE : _mesa_uint16_div_64k_to_half(c[3]);
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dtexcompress_astc.cpp665 output[i*4+0] = FP16_ONE;
667 output[i*4+2] = FP16_ONE;
668 output[i*4+3] = FP16_ONE;
1714 output[idx*4+0] = c[0] == 65535 ? FP16_ONE : _mesa_uint16_div_64k_to_half(c[0]);
1715 output[idx*4+1] = c[1] == 65535 ? FP16_ONE : _mesa_uint16_div_64k_to_half(c[1]);
1716 output[idx*4+2] = c[2] == 65535 ? FP16_ONE : _mesa_uint16_div_64k_to_half(c[2]);
1717 output[idx*4+3] = c[3] == 65535 ? FP16_ONE : _mesa_uint16_div_64k_to_half(c[3]);

Completed in 10 milliseconds