Index: src/gpu/gl/GrGLProgramDesc.cpp |
diff --git a/src/gpu/gl/GrGLProgramDesc.cpp b/src/gpu/gl/GrGLProgramDesc.cpp |
index e3ee9139c2e027580be17b45a0878cba0ce91e7f..e3d292c062aedefdee962693097377a865e3598f 100644 |
--- a/src/gpu/gl/GrGLProgramDesc.cpp |
+++ b/src/gpu/gl/GrGLProgramDesc.cpp |
@@ -147,6 +147,13 @@ bool GrGLProgramDescBuilder::Build(GrProgramDesc* desc, |
} else { |
header->fFragPosKey = 0; |
} |
+ |
+ if (pipeline.ignoresCoverage()) { |
+ header->fIgnoresCoverage = 1; |
+ } else { |
+ header->fIgnoresCoverage = 0; |
+ } |
+ |
header->fSnapVerticesToPixelCenters = pipeline.snapVerticesToPixelCenters(); |
header->fColorEffectCnt = pipeline.numColorFragmentProcessors(); |
header->fCoverageEffectCnt = pipeline.numCoverageFragmentProcessors(); |