Index: src/gpu/gl/GrGLProgramDesc.cpp |
diff --git a/src/gpu/gl/GrGLProgramDesc.cpp b/src/gpu/gl/GrGLProgramDesc.cpp |
index abe2439495d9cf35bb1283e0619b1d24bedd4e76..73e02b67530d4cdc8e785027c780c2578f6258ff 100644 |
--- a/src/gpu/gl/GrGLProgramDesc.cpp |
+++ b/src/gpu/gl/GrGLProgramDesc.cpp |
@@ -142,8 +142,8 @@ bool GrGLProgramDescBuilder::Build(GrProgramDesc* desc, |
header->fFragPosKey = 0; |
} |
- header->fColorEffectCnt = pipeline.numColorStages(); |
- header->fCoverageEffectCnt = pipeline.numCoverageStages(); |
+ header->fColorEffectCnt = pipeline.numColorFragmentStages(); |
+ header->fCoverageEffectCnt = pipeline.numCoverageFragmentStages(); |
desc->finalize(); |
return true; |
} |