Index: src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp |
diff --git a/src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp b/src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp |
index eb744a99156c8c64a8bd4e7051cbf687ce9eb59e..db420c8439fb0069fa3bb6bbc43fc55b8a9538e8 100644 |
--- a/src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp |
+++ b/src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp |
@@ -96,14 +96,6 @@ GrGLSLFragmentShaderBuilder::GrGLSLFragmentShaderBuilder(GrGLSLProgramBuilder* p |
bool GrGLSLFragmentShaderBuilder::enableFeature(GLSLFeature feature) { |
const GrGLSLCaps& glslCaps = *fProgramBuilder->glslCaps(); |
switch (feature) { |
- case kStandardDerivatives_GLSLFeature: |
- if (!glslCaps.shaderDerivativeSupport()) { |
- return false; |
- } |
- if (const char* extension = glslCaps.shaderDerivativeExtensionString()) { |
- this->addFeature(1 << kStandardDerivatives_GLSLFeature, extension); |
- } |
- return true; |
case kPixelLocalStorage_GLSLFeature: |
if (glslCaps.pixelLocalStorageSize() <= 0) { |
return false; |