Chromium Code Reviews| Index: src/gpu/gl/GrGLProgramDesc.cpp |
| diff --git a/src/gpu/gl/GrGLProgramDesc.cpp b/src/gpu/gl/GrGLProgramDesc.cpp |
| index 801224c9b6744b61c3af3af9947c89dba8775f6b..741da86e82ae25e5b323bf96ee784cb26ba6fa6a 100644 |
| --- a/src/gpu/gl/GrGLProgramDesc.cpp |
| +++ b/src/gpu/gl/GrGLProgramDesc.cpp |
| @@ -182,6 +182,12 @@ bool GrGLProgramDescBuilder::Build(GrProgramDesc* desc, |
| header->fIgnoresCoverage = 0; |
| } |
| + if (pipeline.usesDistanceVectorField()) { |
|
egdaniel
2016/07/12 13:46:42
I know I said we should add this to the key here,
dvonbeck
2016/07/13 15:17:13
The GeoProc?
dvonbeck
2016/07/13 19:07:15
Oh, the FP! That makes sense. I removed this code.
|
| + header->fUsesDistanceVectorField = 1; |
| + } else { |
| + header->fUsesDistanceVectorField = 0; |
| + } |
| + |
| header->fSnapVerticesToPixelCenters = pipeline.snapVerticesToPixelCenters(); |
| header->fColorEffectCnt = pipeline.numColorFragmentProcessors(); |
| header->fCoverageEffectCnt = pipeline.numCoverageFragmentProcessors(); |