Index: src/gpu/gl/builders/GrGLShaderBuilder.h |
diff --git a/src/gpu/gl/builders/GrGLShaderBuilder.h b/src/gpu/gl/builders/GrGLShaderBuilder.h |
index 1d0fa6a7906d9d01b902b94895d501b9ee5f6617..655b0d9023e71c460e2cf0e91c5c954f25c2e613 100644 |
--- a/src/gpu/gl/builders/GrGLShaderBuilder.h |
+++ b/src/gpu/gl/builders/GrGLShaderBuilder.h |
@@ -94,6 +94,11 @@ public: |
va_end(args); |
} |
+ /** |
+ * Appends a variable declaration to one of the shaders |
+ */ |
+ void declAppend(const GrGLShaderVar& var, const GrGLProgramBuilder& builder); |
bsalomon
2014/08/28 21:29:19
Doesn't GrGLShaderBuilder already have getProgramB
egdaniel
2014/08/29 14:37:20
yes, removed param
|
+ |
/** Emits a helper function outside of main() in the fragment shader. */ |
void emitFunction(GrSLType returnType, |
const char* name, |