Index: src/gpu/gl/GrGLSL.cpp |
diff --git a/src/gpu/gl/GrGLSL.cpp b/src/gpu/gl/GrGLSL.cpp |
index 29596827da05b5803f3ebac1880f899cec9df0a3..f48f03854647ad2dc2369bdbb2a4f74892d0458e 100644 |
--- a/src/gpu/gl/GrGLSL.cpp |
+++ b/src/gpu/gl/GrGLSL.cpp |
@@ -63,14 +63,6 @@ const char* GrGetGLSLVersionDecl(const GrGLContextInfo& info) { |
} |
} |
-bool GrGLSLSetupFSColorOuput(GrGLSLGeneration gen, const char* nameIfDeclared, GrGLShaderVar* var) { |
- bool declaredOutput = k110_GrGLSLGeneration != gen; |
- var->set(kVec4f_GrSLType, |
- GrGLShaderVar::kOut_TypeModifier, |
- declaredOutput ? nameIfDeclared : "gl_FragColor"); |
- return declaredOutput; |
-} |
- |
const char* GrGLSLVectorHomogCoord(int count) { |
static const char* HOMOGS[] = {"ERROR", "", ".y", ".z", ".w"}; |
SkASSERT(count >= 1 && count < (int)GR_ARRAY_COUNT(HOMOGS)); |