Add highp to specular lighting intermediate to fix iOS bots
authorBrian Osman <brianosman@google.com>
Fri, 17 Mar 2017 13:36:31 +0000 (09:36 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Fri, 17 Mar 2017 14:33:04 +0000 (14:33 +0000)
commit9bc39bbd1a18d61e4e9c3808c33ea003a8e49938
tree6ecc7b0eee4e0292b140062fb1b9bace9928d179
parente88a1cb20e6b4c9f099070112225a88693a4630b
Add highp to specular lighting intermediate to fix iOS bots

Looks like math was over/under-flowing at default precision, leading to garbage output. This appears to be the minimal change to fix it.

BUG=skia:

Change-Id: I9381dea380be0d8f5af1e765f4ed1403b0ceac70
Reviewed-on: https://skia-review.googlesource.com/9827
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
src/effects/SkLightingImageFilter.cpp