aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/mtl/GrMtlTexture.mm
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2018-02-05 15:55:54 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-02-06 12:56:46 +0000
commit5711133a1b216bfa5d1d24aaffd32dc02c64b333 (patch)
tree7f50e87e3bca2df9b7f8406a1ffdbb2257275dd2 /src/gpu/mtl/GrMtlTexture.mm
parentb915b978e3c34e7ded50e1433cbc9e342bb71404 (diff)
Remove integer texture support
Change-Id: I0db1c4d705711b8d980bbe0d986013daec6c8ef3 Reviewed-on: https://skia-review.googlesource.com/103762 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/mtl/GrMtlTexture.mm')
-rw-r--r--src/gpu/mtl/GrMtlTexture.mm4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gpu/mtl/GrMtlTexture.mm b/src/gpu/mtl/GrMtlTexture.mm
index 26e5918faf..92afe31a9a 100644
--- a/src/gpu/mtl/GrMtlTexture.mm
+++ b/src/gpu/mtl/GrMtlTexture.mm
@@ -48,10 +48,6 @@ sk_sp<GrMtlTexture> GrMtlTexture::CreateNewTexture(GrMtlGpu* gpu, SkBudgeted bud
// This method parallels GrTextureProxy::highestFilterMode
static inline GrSamplerState::Filter highest_filter_mode(GrPixelConfig config) {
- if (GrPixelConfigIsSint(config)) {
- // We only ever want to nearest-neighbor sample signed int textures.
- return GrSamplerState::Filter::kNearest;
- }
return GrSamplerState::Filter::kMipMap;
}