[llvm] [HLSL][RootSignature] Implement serialized dump of Descriptor Tables (PR #138326)

Ashley Coleman via llvm-commits llvm-commits at lists.llvm.org
Thu May 8 16:09:31 PDT 2025


================
@@ -0,0 +1,154 @@
+//===- HLSLRootSignature.cpp - HLSL Root Signature helper objects ---------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+///
+/// \file This file contains helpers for working with HLSL Root Signatures.
+///
+//===----------------------------------------------------------------------===//
+
+#include "llvm/Frontend/HLSL/HLSLRootSignature.h"
+#include "llvm/ADT/bit.h"
+
+namespace llvm {
+namespace hlsl {
+namespace rootsig {
+
+static void dumpRegType(raw_ostream &OS, RegisterType Type) {
----------------
V-FEXrt wrote:

 +1

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


More information about the llvm-commits mailing list