Merge pull request #1359 from billhollings/sampler-borders

Cleanup handling of sampler border color and mirror edge clamp.