Index: src/gpu/glsl/GrGLSLShaderBuilder.cpp |
diff --git a/src/gpu/glsl/GrGLSLShaderBuilder.cpp b/src/gpu/glsl/GrGLSLShaderBuilder.cpp |
index d4d16fcfcbdc6c7cab646b95b31115af5b8031d1..1fc15ecb3c4175c65c20bc6a9bf8589640ac3623 100644 |
--- a/src/gpu/glsl/GrGLSLShaderBuilder.cpp |
+++ b/src/gpu/glsl/GrGLSLShaderBuilder.cpp |
@@ -190,10 +190,6 @@ void GrGLSLShaderBuilder::finalize(uint32_t visibility) { |
fProgramBuilder->appendUniformDecls((GrGLSLProgramBuilder::ShaderVisibility) visibility, |
&this->uniforms()); |
this->appendDecls(fInputs, &this->inputs()); |
- // We should not have any outputs in the fragment shader when using version 1.10 |
- SkASSERT(GrGLSLProgramBuilder::kFragment_Visibility != visibility || |
- k110_GrGLSLGeneration != fProgramBuilder->glslCaps()->generation() || |
- fOutputs.empty()); |
this->appendDecls(fOutputs, &this->outputs()); |
this->onFinalize(); |
// append the 'footer' to code |