Issue |
126569
|
Summary |
[HLSL] Implement the Root Signature Parser for Descriptor Tables
|
Labels |
HLSL
|
Assignees |
inbelic
|
Reporter |
inbelic
|
This issues handles the implementation of parsing the root signature in its token form into the in-memory representation of `RootElement`s. Specifically, it handles all Descriptor Table related tokens and parses these into the `DescriptorTable` and `DescriptorTableClause` struct representation.
This will define all the helper methods of Root Signature Parser needed for the other Root Element types and so it constitutes the "first 90%" of work for implementing the complete parser.
Note that this parser definition will be completely self-contained and can be invoked externally when creating the `HLSLRootSignatureAttr`
AC:
- [ ] Define the in-memory representation of `RootElement`, `DescriptorTable` and `DescriptorTableClause` in `HLSLRootSignatures.h`
- [ ] Define `RootSignatureParser` and provide a public `Parse` that will take an input `RootSignatureLexer` and generate a list of `RootElement`s
- [ ] Implement the internal methods and helper methods required to parse the different types of `RootElements`
- [ ] Add unit testing in `ParseHLSLRootSignatureTest.cpp`
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs