i965: Fix brw_regs_equal() for NaN and positive/negative zero.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 17 May 2016 00:28:19 +0000 (17:28 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 20 May 2016 21:28:06 +0000 (14:28 -0700)
commit1539009bf01773c2cf18e436b0373fab300e5b67
treeb4f9738fbd5459da952b24267e9b3b6cb4f6f270
parentb19a0d506d33bff513d07a41b0ba51930464ab8f
i965: Fix brw_regs_equal() for NaN and positive/negative zero.

We'd like the comparisons to mean "the exact same bits".  Comparing
doubles won't do that for NaN values or positive vs. negative zero.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_reg.h