diff options
Diffstat (limited to 'src/gpu/glsl/GrGLSLShaderVar.h')
-rw-r--r-- | src/gpu/glsl/GrGLSLShaderVar.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gpu/glsl/GrGLSLShaderVar.h b/src/gpu/glsl/GrGLSLShaderVar.h index a8a9a47ba2..1aedb91661 100644 --- a/src/gpu/glsl/GrGLSLShaderVar.h +++ b/src/gpu/glsl/GrGLSLShaderVar.h @@ -130,6 +130,13 @@ public: } /** + * Set the layout qualifier + */ + void setLayoutQualifier(const char* layoutQualifier) { + fLayoutQualifier = layoutQualifier; + } + + /** * Write a declaration of this variable to out. */ void appendDecl(const GrGLSLCaps* glslCaps, SkString* out) const { |