aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkFlate.cpp
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2015-06-24 08:14:49 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-24 08:14:49 -0700
commit724ae2823e1481e162b576ecfe8525a329c100d5 (patch)
tree09ce520998cbb3474a5adb2cc46684c1c8f6b68a /src/core/SkFlate.cpp
parentba9a4aa8550c982c480d03cb6ba2cabaf6209b41 (diff)
Alter shader code for soft light to avoid driver bug.
On the n5 there seems to be an issue where negating a variable at the start of an equation doesn't work. Moving the negated variable to a subtract at the end works around the issue (as would multiplying by -1.0). The main bug was caused by the -DaCub in the else if block, but I also adjusted the else block to make sure the same issue doesn't appear there at some later date. BUG=chromium:502434 Review URL: https://codereview.chromium.org/1210573002
Diffstat (limited to 'src/core/SkFlate.cpp')
0 files changed, 0 insertions, 0 deletions