From f3d7aa6ce964e3f8e2550886dae24ee6cba7ae9c Mon Sep 17 00:00:00 2001 From: Julius Ikkala Date: Sat, 18 Jan 2025 22:25:19 +0200 Subject: Fix upper 32 bits of 64-bit AnyValue packing (#6127) --- source/slang/slang-ir-any-value-marshalling.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') diff --git a/source/slang/slang-ir-any-value-marshalling.cpp b/source/slang/slang-ir-any-value-marshalling.cpp index d1be60035..2dc91d299 100644 --- a/source/slang/slang-ir-any-value-marshalling.cpp +++ b/source/slang/slang-ir-any-value-marshalling.cpp @@ -426,7 +426,7 @@ struct AnyValueMarshallingContext uintPtrType, anyValueVar, anyValInfo->fieldKeys[fieldOffset]); - builder->emitStore(dstAddr, lowBits); + builder->emitStore(dstAddr, highBits); fieldOffset++; } } -- cgit v1.2.3