[llvm] [DXIL] Adding support to RootSignatureFlags in obj2yaml (PR #122396)
    Damyan Pepper via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Feb  3 18:52:52 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
----------------
damyanp wrote:
Yup.  I suggest you lean in to that and acknowledge that this is testing both the flags and the version.  The absolute minimum thing you need to add for Root Signature support in these tools is the version and flags fields.
https://github.com/llvm/llvm-project/pull/122396
    
    
More information about the llvm-commits
mailing list