src/util: Switch _mesa_half_to_float() to u_half.h's version.
authorEric Anholt <eric@anholt.net>
Thu, 27 Jun 2019 22:53:53 +0000 (15:53 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 16 Jul 2019 19:51:13 +0000 (12:51 -0700)
commit628f55717bb7451e8a766fdbb3be3823f6ce9308
treebbaecca2217840ed6b4d303c93109c0780fa579f
parentbb5801ad98ec0958ff0d2f18df61842b3e1f0fd9
src/util: Switch _mesa_half_to_float() to u_half.h's version.

The two implementations differ across the entire input range only in
that u_half.h preserves mantissa bits for NaNs.  The u_half.h version
shaves 15% off of the text size of half_float.o.

Reviewed-by: Thomas Helland <thomashelland90@gmail.com>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/util/half_float.c