[llvm] [DirectX] Adding support for Root Descriptors in obj2yaml/yaml2obj (PR #137259)

Sarah Spall via llvm-commits llvm-commits at lists.llvm.org
Sat May 3 10:07:55 PDT 2025


================
@@ -580,7 +585,28 @@ struct ProgramSignatureElement {
 
 static_assert(sizeof(ProgramSignatureElement) == 32,
               "ProgramSignatureElement is misaligned");
+namespace RST0 {
+namespace v0 {
----------------
spall wrote:

Why use namespaces to distinguish these structs and not give them different names like 'RootDescriptorV1' and 'RootDescriptorV2'?

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


More information about the llvm-commits mailing list