mesa: Replace IS_NEGATIVE(x) with x < 0.0f.
authorMatt Turner <mattst88@gmail.com>
Mon, 22 Sep 2014 04:03:14 +0000 (21:03 -0700)
committerMatt Turner <mattst88@gmail.com>
Thu, 25 Sep 2014 20:57:29 +0000 (13:57 -0700)
commit43267a325f4a0c601a7899a7ea4b1927b4cd1f61
tree105f2a42895d6f893c2d77f571972c88c672c9d1
parent50e2f700932bb846dc36b193e533593d45beac44
mesa: Replace IS_NEGATIVE(x) with x < 0.0f.

I only made IS_NEGATIVE(x) use signbit in commit 0f3ba405 in an attempt
to fix 54805, but it didn't help. We didn't use signbit on some
platforms and instead defined it to x < 0.0f.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/auxiliary/draw/draw_pipe_clip.c
src/mesa/drivers/dri/i965/brw_clip_line.c
src/mesa/drivers/dri/i965/brw_clip_tri.c
src/mesa/main/macros.h
src/mesa/tnl/t_vb_cliptmp.h