Searched refs:FP16_ONE (Results 1 – 5 of 5) sorted by relevance
42 #define FP16_ONE ((uint16_t) 0x3c00) macro127 static float16_t one() { return float16_t(FP16_ONE); } in one()
192 assert(s == 0 && val <= FP16_ONE); /* check 0 <= this <= 1 */ in _mesa_half_to_unorm8()
659 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]); in write_decoded()1697 output[idx*4+1] = c[1] == 65535 ? FP16_ONE : _mesa_uint16_div_64k_to_half(c[1]); in write_decoded()1698 output[idx*4+2] = c[2] == 65535 ? FP16_ONE : _mesa_uint16_div_64k_to_half(c[2]); in write_decoded()1699 output[idx*4+3] = c[3] == 65535 ? FP16_ONE : _mesa_uint16_div_64k_to_half(c[3]); in write_decoded()
524 int FP16_ONE = 0x3C00;
1705 (V_MUL_F16_e64 0, (i32 CONST.FP16_ONE), $src_mods, $src, 0, 0)1715 (V_PK_MUL_F16 0, (i32 CONST.FP16_ONE), $src_mods, $src, DSTCLAMP.NONE)