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

via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 3 17:58:02 PST 2025


================
@@ -0,0 +1,31 @@
+# RUN: yaml2obj %s | obj2yaml | FileCheck %s
+
+--- !dxcontainer
+Header:
+  Hash:            [ 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
+                     0x0, 0x0, 0x0, 0x0, 0x0, 0x0 ]
+  Version:
+    Major:           1
+    Minor:           0
+  PartCount:       1
+  PartOffsets:     [ 60 ]
+Parts:
+  - Name:            RTS0
+    Size:            24
+    RootSignature:
+      Version: 2
----------------
joaosaffran wrote:

The version field was reintroduced to keep compatibility with DXC RootSignature header. In order for the binary generated by clang, be understood by dxc, this must exist and follow the values specified.

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


More information about the llvm-commits mailing list