[DX] Fix big-endian... again
authorChris Bieneman <chris.bieneman@me.com>
Fri, 3 Feb 2023 00:21:19 +0000 (18:21 -0600)
committerChris Bieneman <chris.bieneman@me.com>
Fri, 3 Feb 2023 00:21:32 +0000 (18:21 -0600)
Big endian is the bane of my existance today...

llvm/include/llvm/BinaryFormat/DXContainer.h

index 3436349..f202f1b 100644 (file)
@@ -367,6 +367,7 @@ struct ResourceBindInfo : public v0::ResourceBindInfo {
   uint32_t Flags;
 
   void swapBytes() {
+    v0::ResourceBindInfo::swapBytes();
     sys::swapByteOrder(Kind);
     sys::swapByteOrder(Flags);
   }