Home
last modified time | relevance | path

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

/third_party/mesa3d/src/util/
H A Dhalf_float.h42 #define FP16_ONE ((uint16_t) 0x3c00) macro
127 static float16_t one() { return float16_t(FP16_ONE); } in one()
H A Dhalf_float.c192 assert(s == 0 && val <= FP16_ONE); /* check 0 <= this <= 1 */ in _mesa_half_to_unorm8()
/third_party/mesa3d/src/mesa/main/
H A Dtexcompress_astc.cpp659 output[i*4+0] = FP16_ONE; in decode()
661 output[i*4+2] = FP16_ONE; in decode()
662 output[i*4+3] = FP16_ONE; in decode()
1696 output[idx*4+0] = c[0] == 65535 ? FP16_ONE : _mesa_uint16_div_64k_to_half(c[0]);
1697 output[idx*4+1] = c[1] == 65535 ? FP16_ONE : _mesa_uint16_div_64k_to_half(c[1]);
1698 output[idx*4+2] = c[2] == 65535 ? FP16_ONE : _mesa_uint16_div_64k_to_half(c[2]);
1699 output[idx*4+3] = c[3] == 65535 ? FP16_ONE : _mesa_uint16_div_64k_to_half(c[3]);

Completed in 4 milliseconds