Index: src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp |
diff --git a/src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp b/src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp |
index d35730f633012d764302d9994412e113ec793082..eb744a99156c8c64a8bd4e7051cbf687ce9eb59e 100644 |
--- a/src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp |
+++ b/src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp |
@@ -291,10 +291,10 @@ void GrGLSLFragmentShaderBuilder::enableCustomOutput() { |
if (!fHasCustomColorOutput) { |
fHasCustomColorOutput = true; |
fCustomColorOutputIndex = fOutputs.count(); |
- fOutputs.push_back().set(kVec4f_GrSLType, |
- GrGLSLShaderVar::kOut_TypeModifier, |
- DeclaredColorOutputName()); |
- fProgramBuilder->finalizeFragmentOutputColor(fOutputs.back()); |
+ fOutputs.push_back().set(kVec4f_GrSLType, |
+ GrGLSLShaderVar::kOut_TypeModifier, |
+ DeclaredColorOutputName()); |
+ fProgramBuilder->finalizeFragmentOutputColor(fOutputs.back()); |
} |
} |
@@ -318,7 +318,7 @@ void GrGLSLFragmentShaderBuilder::enableSecondaryOutput() { |
} |
const char* GrGLSLFragmentShaderBuilder::getPrimaryColorOutputName() const { |
- return fHasCustomColorOutput ? DeclaredColorOutputName() : "gl_FragColor"; |
+ return fHasCustomColorOutput ? DeclaredColorOutputName() : "sk_FragColor"; |
} |
void GrGLSLFragmentBuilder::declAppendf(const char* fmt, ...) { |