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..ffb324773a8be4f3776f602a06b331c6851ebf21 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); |
+ |
/** Emits a helper function outside of main() in the fragment shader. */ |
void emitFunction(GrSLType returnType, |
const char* name, |