Simplify code by breaking general sampler into Nearest and Bilerp.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2055513003

Review-Url: https://codereview.chromium.org/2055513003
3 files changed