Replace raster pipeline nextafter() calls with SkNu nudging
authorFlorin Malita <fmalita@chromium.org>
Fri, 20 Jan 2017 19:53:03 +0000 (14:53 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Fri, 20 Jan 2017 20:25:57 +0000 (20:25 +0000)
commit5b2f5793318291e2eb9fb256289e8a2adf0b56eb
treee784e6cd8d5ae6ae56548faf52daebb1ab967a7d
parent5be6c95fa95a518ab109339df4695d6dda6e2419
Replace raster pipeline nextafter() calls with SkNu nudging

(courtesy of mtklein@)

  nanobench -m gradient_linear_clamp\$ --config f16 --ms 2000 -q

Before: 753.66
After:  658.69

R=mtklein@google.com,herb@google.com

CQ_INCLUDE_TRYBOTS=skia.primary:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD

Change-Id: Ie1442da340f6cfc9aef65bec1f114c0e5db89fcb
Reviewed-on: https://skia-review.googlesource.com/7351
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Florin Malita <fmalita@chromium.org>
src/opts/SkRasterPipeline_opts.h