Index: src/gpu/gl/builders/GrGLProgramBuilder.cpp |
diff --git a/src/gpu/gl/builders/GrGLProgramBuilder.cpp b/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
index 909ac76d62f73a2bd096f6ab12b0a1551c1280e9..de08ec4ad06502b45a9ffb2a5794c4e0a745c839 100644 |
--- a/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
+++ b/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
@@ -82,7 +82,7 @@ bool GrGLProgramBuilder::genProgram(const GrGeometryStage* geometryProcessor, |
////////////////////////////////////////////////////////////////////////////// |
-GrGLProgramBuilder::GrGLProgramBuilder(GrGpuGL* gpu, |
+GrGLProgramBuilder::GrGLProgramBuilder(GrGpuGL* gpu, const GrOptDrawState& optState, |
const GrGLProgramDesc& desc) |
: fEffectEmitter(NULL) |
, fFragOnly(SkToBool(desc.getHeader().fUseFragShaderOnly)) |
@@ -91,6 +91,7 @@ GrGLProgramBuilder::GrGLProgramBuilder(GrGpuGL* gpu, |
, fFS(this, desc) |
, fSeparableVaryingInfos(kVarsPerBlock) |
, fGrProcessorEmitter(this) |
+ , fOptState(optState) |
, fDesc(desc) |
, fGpu(gpu) |
, fUniforms(kVarsPerBlock) { |