diff options
author | skcms-skia-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com <skcms-skia-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com> | 2018-05-07 14:47:26 +0000 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-05-07 16:01:29 +0000 |
commit | 240fddd01b90f8e2d56da3e6bed2e76c57d09e6f (patch) | |
tree | 1e7f6294c71f3b7ad1f884c00a577ccb08be6b6a /third_party/skcms | |
parent | beca17255432d7e9502f94a85c4477a237730798 (diff) |
Roll skia/third_party/skcms 02fc32e..bd90169 (1 commits)
https://skia.googlesource.com/skcms.git/+log/02fc32e..bd90169
2018-05-07 brianosman@google.com Verify that PolyTF parameters are finite after each step
The AutoRoll server is located here: https://skcms-skia-roll.skia.org
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
TBR=egdaniel@google.com
Change-Id: I759874e04430deb9c4e43ecb4e9b9594830de760
Reviewed-on: https://skia-review.googlesource.com/126442
Commit-Queue: skcms-skia-autoroll <skcms-skia-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
Reviewed-by: skcms-skia-autoroll <skcms-skia-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
Diffstat (limited to 'third_party/skcms')
-rw-r--r-- | third_party/skcms/src/GaussNewton.c | 3 | ||||
-rwxr-xr-x | third_party/skcms/version.sha1 | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/third_party/skcms/src/GaussNewton.c b/third_party/skcms/src/GaussNewton.c index efbda240a4..11f55b53b4 100644 --- a/third_party/skcms/src/GaussNewton.c +++ b/third_party/skcms/src/GaussNewton.c @@ -8,6 +8,7 @@ #include "../skcms.h" #include "GaussNewton.h" #include "LinearAlgebra.h" +#include "PortableMath.h" #include "TransferFunction.h" #include <assert.h> #include <string.h> @@ -90,7 +91,7 @@ bool skcms_gauss_newton_step(float (*rg)(float x, const void*, const float P[3], P[0] += dP.vals[0]; P[1] += dP.vals[1]; P[2] += dP.vals[2]; - return true; + return isfinitef_(P[0]) && isfinitef_(P[1]) && isfinitef_(P[2]); } float skcms_eval_curve(float x, const skcms_Curve* curve) { diff --git a/third_party/skcms/version.sha1 b/third_party/skcms/version.sha1 index 8ba237cecf..837b01de0d 100755 --- a/third_party/skcms/version.sha1 +++ b/third_party/skcms/version.sha1 @@ -1 +1 @@ -02fc32ea7f43008fd55a5fa0c12e43596aee4cd9
\ No newline at end of file +bd901697fae021f892fd862c8031f0d7c2e3399b
\ No newline at end of file |