Issue 126645
Summary [HLSL] Implement validation: Resource used in DXIL must be fully bound in root signature.
Labels new issue
Assignees joaosaffran
Reporter joaosaffran
    This validation needs to check if the resources used in DXIL are being bounded in the root signature. Example:

```HLSL
 // 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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to