Searched refs:src_half (Results 1 – 1 of 1) sorted by relevance
105 unsigned src_half = (1 << (src_bits - 1)) - 1; in _mesa_unorm_to_unorm() local109 return (((uint64_t) x * MAX_UINT(dst_bits) + src_half) / in _mesa_unorm_to_unorm()112 return (x * MAX_UINT(dst_bits) + src_half) / MAX_UINT(src_bits); in _mesa_unorm_to_unorm()