[clang] [llvm] [DirectX] Validate registers are bound to root signature (PR #146785)

Justin Bogner via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 25 08:42:16 PDT 2025


https://github.com/bogner commented:

I think we should probably consolidate some of the duplicate approaches to building ranges out of resource bindings and root signatures. Specifically, I think the logic in DXILResource analysis can be used for this PR, as a small rework of the overlapping range logic in SemaHLSL, and for #148919.

I have a draft PR moving the logic in #150633, which I can clean up if we go with this approach, and a proof of concept in #150634 using this in Sema. WDYT?

https://github.com/llvm/llvm-project/pull/146785


More information about the llvm-commits mailing list