mesa: move _mesa_half_is_negative() to half_float.h
authorBrian Paul <brianp@vmware.com>
Thu, 5 Oct 2017 19:34:52 +0000 (13:34 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 10 Oct 2017 17:28:31 +0000 (11:28 -0600)
commitc43b0d3f9184752e848ef0ab617cca48c60246ec
tree77fa6f0e6c9cdac4978946ada35291ba4e62a04a
parent3c5664b78d39e2d13f156369f8114ebbe08d6fb7
mesa: move _mesa_half_is_negative() to half_float.h

v2: use !! in the function to be explicit about type conversion.  Though,
gcc generates the same code with or without the logical !!.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/main/imports.h
src/util/half_float.h