projects
/
platform
/
upstream
/
VK-GL-CTS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1deb3e8
)
Relax modf(Inf) fractional part verification
author
Pyry Haulos
<phaulos@google.com>
Wed, 15 Jul 2015 21:53:03 +0000
(14:53 -0700)
committer
Pyry Haulos
<phaulos@google.com>
Wed, 15 Jul 2015 21:53:03 +0000
(14:53 -0700)
See Khronos bug 13907
Bug:
22512069
Change-Id: Ic608a8a520d34fe84c3a4c5b5d96d0623e6aebd0
modules/glshared/glsBuiltinPrecisionTests.cpp
patch
|
blob
|
history
diff --git
a/modules/glshared/glsBuiltinPrecisionTests.cpp
b/modules/glshared/glsBuiltinPrecisionTests.cpp
index
dd8aee1
..
35590f4
100644
(file)
--- a/
modules/glshared/glsBuiltinPrecisionTests.cpp
+++ b/
modules/glshared/glsBuiltinPrecisionTests.cpp
@@
-3225,9
+3225,10
@@
protected:
TCU_INTERVAL_APPLY_MONOTONE1(wholeIV, x, iargs.a, whole,
deModf(x, &intPart); whole = intPart);
- if (
(ctx.format.hasInf() != YES) &&
!iargs.a.isFinite())
+ if (!iargs.a.isFinite())
{
// Behavior on modf(Inf) not well-defined, allow anything as a fractional part
+ // See Khronos bug 13907
fracIV |= TCU_NAN;
}