diff --git a/external/vcpkg b/external/vcpkg index c8696863..10b7a178 160000 --- a/external/vcpkg +++ b/external/vcpkg @@ -1 +1 @@ -Subproject commit c8696863d371ab7f46e213d8f5ca923c4aef2a00 +Subproject commit 10b7a178346f3f0abef60cecd5130e295afd8da4 diff --git a/src/sgl/core/struct.cpp b/src/sgl/core/struct.cpp index 6b0656db..e7c32d81 100644 --- a/src/sgl/core/struct.cpp +++ b/src/sgl/core/struct.cpp @@ -920,7 +920,8 @@ struct X86Program : public Program { c.comment(text.c_str()); }; - auto node = c.addFunc(asmjit::FuncSignatureT(asmjit::CallConvId::kHost)); + auto node + = c.addFunc(asmjit::FuncSignature::build(asmjit::CallConvId::kHost)); auto src = c.newIntPtr("src"); auto dst = c.newIntPtr("dst"); auto count = c.newInt64("count"); @@ -1113,7 +1114,7 @@ struct X86Program : public Program { c.invoke( &node, imm((void*)math::float16_to_float32), - FuncSignatureT(CallConvId::kHost) + FuncSignature::build(CallConvId::kHost) ); node->setArg(0, tmp); node->setRet(0, reg.xmm); @@ -1198,7 +1199,7 @@ struct X86Program : public Program { c.invoke( &node, imm((void*)math::float32_to_float16), - FuncSignatureT(CallConvId::kHost) + FuncSignature::build(CallConvId::kHost) ); node->setArg(0, reg.xmm); node->setRet(0, tmp2); @@ -1506,7 +1507,8 @@ struct ARMProgram : public Program { c.comment(text.c_str()); }; - auto node = c.addFunc(asmjit::FuncSignatureT(asmjit::CallConvId::kHost)); + auto node + = c.addFunc(asmjit::FuncSignature::build(asmjit::CallConvId::kHost)); auto src = c.newIntPtr("src"); auto dst = c.newIntPtr("dst"); auto count = c.newInt64("count");