Index: src/gpu/gl/builders/GrGLProgramBuilder.cpp |
diff --git a/src/gpu/gl/builders/GrGLProgramBuilder.cpp b/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
index 95f75ffd448f167ca0cf5cb38e185b7c3f21b2a9..28e1fba20cfca8eaf70e671414576be9bb6b48a6 100644 |
--- a/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
+++ b/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
@@ -343,7 +343,8 @@ |
fFS.enableSecondaryOutput(); |
} |
- if (this->ctxInfo().caps()->glslCaps()->mustDeclareFragmentShaderOutput()) { |
+ // On any post 1.10 GLSL supporting GPU, we declare custom output |
+ if (k110_GrGLSLGeneration != fFS.fProgramBuilder->gpu()->glslGeneration()) { |
fFS.enableCustomOutput(); |
} |