Issue |
126646
|
Summary |
[HLSL] Implement Validation: Root Signature Flag must match DXIL.
|
Labels |
new issue
|
Assignees |
joaosaffran
|
Reporter |
joaosaffran
|
This validation needs to check if Root Signature Flags match the HLSL Code. Example:
```HLSL
// Used dynamic resource but missing CBVSRVUAVHeapDirectlyIndexed flag.
[RootSignature("")]
void main() : SV_Target {
Buffer<float> B = ResourceDescriptorHeap[0];
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