HLSL: Attribute grammar and if-else grammar/productions.

This commit is contained in:
John Kessenich
2016-06-05 11:23:11 -06:00
parent 21472aee75
commit 0d2b6de45b
8 changed files with 456 additions and 8 deletions

View File

@@ -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;