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:
parent
a182b808f8
commit
07caf56e72
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user