Merge "Improve calibration and accouting in flush-finish tests" into mnc-dev
authorPyry Haulos <phaulos@google.com>
Tue, 21 Jul 2015 14:26:57 +0000 (14:26 +0000)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Tue, 21 Jul 2015 14:26:58 +0000 (14:26 +0000)
modules/glshared/glsBuiltinPrecisionTests.cpp

index dd8aee1..35590f4 100644 (file)
@@ -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;
                }