Add grammar productions for adding 'invariant' to already declared variables.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@22083 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
41a36bbb2f
commit
60d9f7a881
6 changed files with 60 additions and 12 deletions
|
|
@ -154,6 +154,8 @@ struct TParseContext {
|
|||
TIntermTyped* constructStruct(TIntermNode*, const TType&, int, TSourceLoc);
|
||||
TIntermTyped* constructBuiltIn(const TType&, TOperator, TIntermNode*, TSourceLoc, bool subset);
|
||||
void addBlock(int line, TTypeList& typeList, const TString* instanceName = 0, TArraySizes arraySizes = 0);
|
||||
void addQualifierToExisting(int line, TQualifier, const TString& identifier);
|
||||
void addQualifierToExisting(int line, TQualifier, TIdentifierList&);
|
||||
void wrapupSwitchSubsequence(TIntermAggregate* statements, TIntermNode* branchNode);
|
||||
TIntermNode* addSwitch(int line, TIntermTyped* expression, TIntermAggregate* body);
|
||||
void updateDefaults(int line, const TPublicType&, const TString* id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue