Index: src/gpu/glsl/GrGLSLProgramBuilder.cpp |
diff --git a/src/gpu/glsl/GrGLSLProgramBuilder.cpp b/src/gpu/glsl/GrGLSLProgramBuilder.cpp |
index 900b6eee6b7044940bf7eae68e9548c2e8a1e27b..45570c2d404e44fc2c945f176961ea62621ec88d 100644 |
--- a/src/gpu/glsl/GrGLSLProgramBuilder.cpp |
+++ b/src/gpu/glsl/GrGLSLProgramBuilder.cpp |
@@ -10,6 +10,7 @@ |
#include "GrPipeline.h" |
#include "glsl/GrGLSLFragmentProcessor.h" |
#include "glsl/GrGLSLGeometryProcessor.h" |
+#include "glsl/GrGLSLVarying.h" |
#include "glsl/GrGLSLXferProcessor.h" |
const int GrGLSLProgramBuilder::kVarsPerBlock = 8; |
@@ -286,3 +287,9 @@ void GrGLSLProgramBuilder::cleanupFragmentProcessors() { |
} |
} |
+void GrGLSLProgramBuilder::finalizeShaders() { |
+ this->varyingHandler()->finalize(); |
+ fVS.finalize(GrGLSLUniformHandler::kVertex_Visibility); |
+ fFS.finalize(GrGLSLUniformHandler::kFragment_Visibility); |
+ |
+} |