HLSL: Attribute grammar and if-else grammar/productions.
This commit is contained in:
parent
21472aee75
commit
0d2b6de45b
8 changed files with 456 additions and 8 deletions
|
|
@ -139,6 +139,11 @@ public:
|
|||
|
||||
void updateImplicitArraySize(const TSourceLoc&, TIntermNode*, int index);
|
||||
|
||||
void nestStatement() { ++statementNestingLevel; }
|
||||
void unnestStatement() { --statementNestingLevel; }
|
||||
void pushScope() { symbolTable.push(); }
|
||||
void popScope() { symbolTable.pop(0); }
|
||||
|
||||
protected:
|
||||
void inheritGlobalDefaults(TQualifier& dst) const;
|
||||
TVariable* makeInternalVariable(const char* name, const TType&) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue