aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/builders/GrGLProgramBuilder.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-01-12 13:29:26 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-01-12 13:29:26 -0800
commit7f9b2e4a45775e8cdd3f98260a66c0c6e1840550 (patch)
tree2634c3fe68d98ece6e9a30a4db7a251303c587ca /src/gpu/gl/builders/GrGLProgramBuilder.h
parent87a721b2465c9ccfa191ce9f5012f92be7731fbc (diff)
Swizzle shader output and blend when using GL_RED to implement kAlpha_8_GrPixelConfig
Diffstat (limited to 'src/gpu/gl/builders/GrGLProgramBuilder.h')
-rw-r--r--src/gpu/gl/builders/GrGLProgramBuilder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpu/gl/builders/GrGLProgramBuilder.h b/src/gpu/gl/builders/GrGLProgramBuilder.h
index cbec5a9863..70cfad5633 100644
--- a/src/gpu/gl/builders/GrGLProgramBuilder.h
+++ b/src/gpu/gl/builders/GrGLProgramBuilder.h
@@ -92,6 +92,7 @@ private:
const GrGLSLExpr4& colorIn,
const GrGLSLExpr4& coverageIn,
bool ignoresCoverage);
+ void emitFSOutputSwizzle(bool hasSecondaryOutput);
void verify(const GrPrimitiveProcessor&);
void verify(const GrXferProcessor&);