Skip to content

Commit f2aac19

Browse files
committed
[DX] Fix copypasta that caused big-endian failure
This should fix the failures on the big endian bots. fast-forwarded.
1 parent d3e66a8 commit f2aac19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/BinaryFormat/DXContainer.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ struct ProgramSignatureHeader {
453453

454454
void swapBytes() {
455455
sys::swapByteOrder(ParamCount);
456-
sys::swapByteOrder(ParamCount);
456+
sys::swapByteOrder(FirstParamOffset);
457457
}
458458
};
459459

0 commit comments

Comments
 (0)