[llvm] [DirectX] adding support to read/write descriptor table data using obj2yaml/yaml2obj (PR #138315)

Justin Bogner via llvm-commits llvm-commits at lists.llvm.org
Thu May 22 09:48:53 PDT 2025


================
@@ -595,6 +607,21 @@ struct RootDescriptor {
     sys::swapByteOrder(RegisterSpace);
   }
 };
+
+struct DescriptorRange {
+  uint32_t RangeType;
+  uint32_t NumDescriptors;
+  uint32_t BaseShaderRegister;
+  uint32_t RegisterSpace;
+  int32_t OffsetInDescriptorsFromTableStart;
----------------
bogner wrote:

Are other negative numbers (that is, unsigned values between 2147483648 and 4294967294) impossible / invalid, or do we need to treat them as large numbers?

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


More information about the llvm-commits mailing list