| Index: src/gpu/gl/builders/GrGLShaderBuilder.cpp
|
| diff --git a/src/gpu/gl/builders/GrGLShaderBuilder.cpp b/src/gpu/gl/builders/GrGLShaderBuilder.cpp
|
| index 4dea14263214c778b396289b7378cc47f36634b9..6b3e1d12dd7e3948a365b428520b915df77052c9 100644
|
| --- a/src/gpu/gl/builders/GrGLShaderBuilder.cpp
|
| +++ b/src/gpu/gl/builders/GrGLShaderBuilder.cpp
|
| @@ -62,6 +62,12 @@ GrGLShaderBuilder::GrGLShaderBuilder(GrGLProgramBuilder* program)
|
| , fFeaturesAddedMask(0) {
|
| }
|
|
|
| +void GrGLShaderBuilder::declAppend(const GrGLShaderVar& var) {
|
| + SkString tempDecl;
|
| + var.appendDecl(fProgramBuilder->ctxInfo(), &tempDecl);
|
| + this->codeAppendf("%s;", tempDecl.c_str());
|
| +}
|
| +
|
| void GrGLShaderBuilder::emitFunction(GrSLType returnType,
|
| const char* name,
|
| int argCnt,
|
|
|