HLSL: Add basic declaration syntax and AST generation.
This commit is contained in:
parent
e01a9bc8c0
commit
87142c71fb
4 changed files with 335 additions and 14 deletions
|
|
@ -56,6 +56,14 @@ namespace glslang {
|
|||
|
||||
bool acceptCompilationUnit();
|
||||
bool acceptDeclaration();
|
||||
bool acceptFullySpecifiedType(TType&);
|
||||
void acceptQualifier(TQualifier&);
|
||||
bool acceptType(TType&);
|
||||
bool acceptCompoundStatement();
|
||||
bool acceptExpression(TIntermTyped*&);
|
||||
bool acceptArguments(TIntermSequence*&);
|
||||
bool acceptLiteral(TIntermTyped*&);
|
||||
bool acceptOperator(TOperator& op);
|
||||
|
||||
HlslScanContext& scanContext;
|
||||
HlslParseContext& parseContext;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue