Add setter for GrGLSLShaderVar layout qualifier

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1611423002

Review URL: https://codereview.chromium.org/1611423002
This commit is contained in:
egdaniel 2016-01-21 15:21:48 -08:00 committed by Commit bot
parent a182b808f8
commit 07caf56e72

View File

@ -129,6 +129,13 @@ public:
fUseUniformFloatArrays = useUniformFloatArrays;
}
/**
* Set the layout qualifier
*/
void setLayoutQualifier(const char* layoutQualifier) {
fLayoutQualifier = layoutQualifier;
}
/**
* Write a declaration of this variable to out.
*/