This issue handles the lexing of a root signature string into a token representation of the data. Specifically, it handles and defines all the tokens required for a Descriptor Table and its clauses.
For the sake of scope, we will let the lexing of floating literals be deferred until needed for Static Samplers. Other than that this pr should allow us to simply define new enumerations/keywords in RootSignatureTokenKinds.def for when they are used in the parser. We could have define all of these keywords here, but for the sake of correctness in review we will let them be split up.
AC:
This issue handles the lexing of a root signature string into a token representation of the data. Specifically, it handles and defines all the tokens required for a Descriptor Table and its clauses.
For the sake of scope, we will let the lexing of floating literals be deferred until needed for Static Samplers. Other than that this pr should allow us to simply define new enumerations/keywords in
RootSignatureTokenKinds.deffor when they are used in the parser. We could have define all of these keywords here, but for the sake of correctness in review we will let them be split up.AC:
RootSignatureLexerand provide a publicLexTokenmethod for external useRootSignatureTokenKindsto define required tokens and allow for future custom keywords/enums