commit | 1539009bf01773c2cf18e436b0373fab300e5b67 | [log] [tgz] |
---|---|---|
author | Kenneth Graunke <kenneth@whitecape.org> | Mon May 16 17:28:19 2016 -0700 |
committer | Kenneth Graunke <kenneth@whitecape.org> | Fri May 20 14:28:06 2016 -0700 |
tree | b4f9738fbd5459da952b24267e9b3b6cb4f6f270 | |
parent | b19a0d506d33bff513d07a41b0ba51930464ab8f [diff] |
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>