HLSL: Grammar: Generalize accepting a declaration to accept an aggregate of subtrees.
This is slightly cleaner today for entry-point wrapping, which sometimes made two subtrees for a function definition instead of just one subtree. It will be critical though for recognizing a struct with multiple member functions.
Showing
- glslang/Include/revision.h 2 additions, 2 deletionsglslang/Include/revision.h
- glslang/MachineIndependent/Intermediate.cpp 4 additions, 4 deletionsglslang/MachineIndependent/Intermediate.cpp
- hlsl/hlslGrammar.cpp 40 additions, 36 deletionshlsl/hlslGrammar.cpp
- hlsl/hlslGrammar.h 1 addition, 2 deletionshlsl/hlslGrammar.h
- hlsl/hlslParseHelper.cpp 2 additions, 0 deletionshlsl/hlslParseHelper.cpp
Loading
Please register or sign in to comment