Index: src/gpu/gl/builders/GrGLShaderBuilder.h |
diff --git a/src/gpu/gl/builders/GrGLShaderBuilder.h b/src/gpu/gl/builders/GrGLShaderBuilder.h |
index d63a679e8c7ad8d88ec4d8730b5ebd5874464c2b..2daea1515b622af2f34fe8a412b472e9bea279ee 100644 |
--- a/src/gpu/gl/builders/GrGLShaderBuilder.h |
+++ b/src/gpu/gl/builders/GrGLShaderBuilder.h |
@@ -124,6 +124,14 @@ |
protected: |
typedef GrTAllocator<GrGLSLShaderVar> VarArray; |
void appendDecls(const VarArray& vars, SkString* out) const; |
+ |
+ /* |
+ * this super low level function is just for use internally to builders |
+ */ |
+ void appendTextureLookup(const char* samplerName, |
+ const char* coordName, |
+ uint32_t configComponentMask, |
+ const char* swizzle); |
/* |
* A general function which enables an extension in a shader if the feature bit is not present |