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 validation: Resource used in DXIL must be fully bound in root signature. #126645

Open
2 tasks
joaosaffran opened this issue Feb 11, 2025 · 0 comments
Assignees
Labels
HLSL HLSL Language Support

Comments

@joaosaffran
Copy link
Contributor

joaosaffran commented Feb 11, 2025

This validation needs to check if the resources used in DXIL are bound in the root signature. Example:

 // B is bound to t1, but no root parameters cover t1.
  Buffer<float> B : register(t1);
  [RootSignature("")]
  void main() : SV_Target {
    return B[0];
  }

AC:

  • Update Root Signature Analysis to make verification.
  • Add unit testing.
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: Ready
Development

No branches or pull requests

2 participants