[llvm] [DXIL] Adding support to RootSignatureFlags in obj2yaml (PR #122396)

Finn Plummer via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 16 11:48:08 PST 2025


================
@@ -153,6 +153,12 @@ dumpDXContainer(MemoryBufferRef Source) {
       break;
     case dxbc::PartType::Unknown:
       break;
+    case dxbc::PartType::RTS0:
+      std::optional<dxbc::RootSignatureDesc> RS = Container.getRootSignature();
+      if (RS && RS.has_value())
----------------
inbelic wrote:

```suggestion
      if (RS.has_value())
```

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


More information about the llvm-commits mailing list