| Index: src/gpu/gl/GrGLGLSL.cpp
|
| diff --git a/src/gpu/gl/GrGLGLSL.cpp b/src/gpu/gl/GrGLGLSL.cpp
|
| index 4d2bf9794baa43f7ef593f50cb0e0f292d05fbab..98a2386161f8c80827a070adc61a60eac48edc1b 100755
|
| --- a/src/gpu/gl/GrGLGLSL.cpp
|
| +++ b/src/gpu/gl/GrGLGLSL.cpp
|
| @@ -48,21 +48,3 @@ bool GrGLGetGLSLGeneration(const GrGLInterface* gl, GrGLSLGeneration* generation
|
| }
|
| }
|
|
|
| -void GrGLAppendGLSLDefaultFloatPrecisionDeclaration(GrSLPrecision p, GrGLStandard s, SkString* out) {
|
| - // Desktop GLSL has added precision qualifiers but they don't do anything.
|
| - if (kGLES_GrGLStandard == s) {
|
| - switch (p) {
|
| - case kHigh_GrSLPrecision:
|
| - out->append("precision highp float;\n");
|
| - break;
|
| - case kMedium_GrSLPrecision:
|
| - out->append("precision mediump float;\n");
|
| - break;
|
| - case kLow_GrSLPrecision:
|
| - out->append("precision lowp float;\n");
|
| - break;
|
| - default:
|
| - SkFAIL("Unknown precision value.");
|
| - }
|
| - }
|
| -}
|
|
|