diff options
author | Brian Osman <brianosman@google.com> | 2017-08-29 15:15:24 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-08-29 19:34:51 +0000 |
commit | ef45e6eb5862b80769d2ef64630b8003d8ef6c62 (patch) | |
tree | a5043f85af0f7a56f0e104d37c1bc9ff60969781 /src/gpu | |
parent | 856b3c3a8c37deac5aa6f5db0e743036e8c56b95 (diff) |
Remove (unused) context option to remove shader swizzling
Bug: skia:
Change-Id: I0372f7782124c096370b42624b6c0a3aff8a90b0
Reviewed-on: https://skia-review.googlesource.com/40101
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/gl/GrGLCaps.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp index 3434852f0a..377ff48f5a 100644 --- a/src/gpu/gl/GrGLCaps.cpp +++ b/src/gpu/gl/GrGLCaps.cpp @@ -598,10 +598,6 @@ void GrGLCaps::init(const GrContextOptions& contextOptions, this->initShaderPrecisionTable(ctxInfo, gli, shaderCaps); - if (contextOptions.fUseShaderSwizzling) { - fTextureSwizzleSupport = false; - } - if (kGL_GrGLStandard == standard) { if ((version >= GR_GL_VER(4, 0) || ctxInfo.hasExtension("GL_ARB_sample_shading")) && ctxInfo.vendor() != kIntel_GrGLVendor) { |