mesa: fix DIFFERENT_SIGNS() function
authorBrian Paul <brianp@vmware.com>
Tue, 4 Sep 2012 16:02:20 +0000 (10:02 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 4 Sep 2012 17:36:58 +0000 (11:36 -0600)
commitf73ffacbf0c65ad843406af37aa35e9112bc8038
tree218224a7b159b7d61964a5b9be16227c10e41f7a
parent8eaa36317a0a2911cb78066947bc841dd8ce86c8
mesa: fix DIFFERENT_SIGNS() function

Looks like converting this to a macro, returning bool, caused us to
lose the high (31st) bit result.  Fixes piglit fbo-1d test.  Strange
that none of the other tests I ran caught this.

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=54365

Tested-by: Vinson Lee <vlee@freedesktop.org>
src/mesa/main/macros.h