projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9bada4
)
gallium/util: Truly disable INF/NAN tests on MSVC.
author
José Fonseca
<jfonseca@vmware.com>
Fri, 29 Jun 2012 12:39:07 +0000
(13:39 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Fri, 29 Jun 2012 13:49:23 +0000
(14:49 +0100)
Thanks to Brian for spotting this.
src/gallium/auxiliary/util/u_format_tests.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_format_tests.c
b/src/gallium/auxiliary/util/u_format_tests.c
index 9f6d17c607d3f98cee39ce349042e5fede8bdd80..457fda6c8996c9e44416d573b4a320e64326f8bf 100644
(file)
--- a/
src/gallium/auxiliary/util/u_format_tests.c
+++ b/
src/gallium/auxiliary/util/u_format_tests.c
@@
-897,7
+897,7
@@
util_format_test_cases[] =
/* Max representable value */
{PIPE_FORMAT_R16_FLOAT, PACKED_1x16(0xffff), PACKED_1x16(0x7bff), UNPACKED_1x1( 65504.0, 0.0, 0.0, 1.0)},
-#if defined(PIPE_CC_MSVC)
+#if
!
defined(PIPE_CC_MSVC)
/* NaNs */
{PIPE_FORMAT_R16_FLOAT, PACKED_1x16(0xffff), PACKED_1x16(0x7c01), UNPACKED_1x1( NAN, 0.0, 0.0, 1.0)},