color: avoid negative pow
Avoid calling pow() on negative numbers as that causes undefined behavior in the shader. Bug: 821967 Change-Id: Iab3dc9840c17d90aa5952adf17b8b24e2890d055 Reviewed-on: https://chromium-review.googlesource.com/962969Reviewed-by:ccameron <ccameron@chromium.org> Commit-Queue: Fredrik Hubinette <hubbe@chromium.org> Cr-Commit-Position: refs/heads/master@{#543263}
Showing
Please register or sign in to comment