Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HLSL] Implement the Root Signature parser #120472

Open
3 tasks
inbelic opened this issue Dec 18, 2024 · 0 comments
Open
3 tasks

[HLSL] Implement the Root Signature parser #120472

inbelic opened this issue Dec 18, 2024 · 0 comments
Assignees
Labels
HLSL HLSL Language Support

Comments

@inbelic
Copy link
Contributor

inbelic commented Dec 18, 2024

This issues handles the parsing of a root signature string into a list of HLSLRootElements.

It should be self-contained from the parsing of HLSLRootSignatureAttr.

Note that the parsing of the root signature will take place in SemaHLSL so we have the capability to do semantic analysis when parsing, but we will defer much of this work to issue #119019.

AC:

  • Define HLSLRootElement in HLSLResource.h
  • Define and implement ParseHLSLRootSignature in Sema/ParseHLSLRootSignature.[h|cpp]
  • Add unit testing of generated HLSLRootElements in clang/unittests/Sema/ParseHLSLRootSignatureTest.cpp
@inbelic inbelic self-assigned this Dec 18, 2024
@inbelic inbelic added HLSL HLSL Language Support and removed new issue labels Dec 18, 2024
@inbelic inbelic moved this to Planning in HLSL Support Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HLSL HLSL Language Support
Projects
Status: Planning
Development

No branches or pull requests

1 participant