Index: src/gpu/GrProgramDesc.h |
diff --git a/src/gpu/GrProgramDesc.h b/src/gpu/GrProgramDesc.h |
index 9f636a18bc076117212d5de65e88671116fa4aa9..b306f02e4f78a27e8292b7345bef4f1d7b434915 100644 |
--- a/src/gpu/GrProgramDesc.h |
+++ b/src/gpu/GrProgramDesc.h |
@@ -56,10 +56,11 @@ public: |
uint8_t fFragPosKey; // set by GrGLShaderBuilder if there are |
// effects that read the fragment position. |
// Otherwise, 0. |
- |
+ uint8_t fSnapVerticesToPixelCenters; |
int8_t fColorEffectCnt; |
int8_t fCoverageEffectCnt; |
}; |
+ GR_STATIC_ASSERT(sizeof(KeyHeader) == 4); |
int numColorEffects() const { |
return this->header().fColorEffectCnt; |