[clang] [HLSL][RootSignature] Define and integrate rootsig clang attr and decl (PR #137690)

Finn Plummer via cfe-commits cfe-commits at lists.llvm.org
Thu May 1 12:52:34 PDT 2025


================
@@ -3037,6 +3037,11 @@ void TextNodeDumper::VisitHLSLBufferDecl(const HLSLBufferDecl *D) {
   dumpName(D);
 }
 
+void TextNodeDumper::VisitHLSLRootSignatureDecl(
+    const HLSLRootSignatureDecl *D) {
+  dumpName(D);
----------------
inbelic wrote:

>From design we will block on https://github.com/llvm/llvm-project/issues/138025 such that we can provide sufficient testing.

We will go with an initial approach to just dump all information of the in-memory constructs and we can revisit this to maybe only print explicitly set parameters if this becomes to verbose/hard to debug with.

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


More information about the cfe-commits mailing list