Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(326)

Issue 2124183004: Fixed error when normal.z = 1 in GPUs with binary16 floats (Closed)

Created:
4 years, 5 months ago by dvonbeck
Modified:
4 years, 5 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Fixed error when normal.z = 1 in GPUs with binary16 floats Check failed in GPUs with low-precision floats since 0.9999 was too small a difference from 1 to be detected by a 16-bit float comparison. Changed it to 0.999 which fixed the issue and results in indistinguishable correct behavior. BUG=skia:5499 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2124183004 Committed: https://skia.googlesource.com/skia/+/66ad44a3f1df2547981b97c51d24f6881ba328e0

Patch Set 1 : Mistakenly uploaded more commits than necessary, ignore #

Patch Set 2 : Fixed error when normal.z = 1 in GPUs with binary16 floats #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M src/core/SkNormalSource.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 15 (11 generated)
dvonbeck
4 years, 5 months ago (2016-07-08 14:41:46 UTC) #4
robertphillips
lgtm
4 years, 5 months ago (2016-07-08 14:53:36 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2124183004/20001
4 years, 5 months ago (2016-07-08 15:58:57 UTC) #13
commit-bot: I haz the power
4 years, 5 months ago (2016-07-08 15:59:50 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/66ad44a3f1df2547981b97c51d24f6881ba328e0

Powered by Google App Engine
This is Rietveld 408576698