From 44506607215247be4bf33c1a629bf39971bc966f Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Thu, 15 Aug 2019 12:11:16 -0400 Subject: Fix bug where in emitCPUBinaryForEntryPoint for HostCallable doesn't correctly return the created SharedLibrary. (#1022) --- source/slang/slang-compiler.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source') diff --git a/source/slang/slang-compiler.cpp b/source/slang/slang-compiler.cpp index cf708df52..a88881b9d 100644 --- a/source/slang/slang-compiler.cpp +++ b/source/slang/slang-compiler.cpp @@ -1546,6 +1546,8 @@ SlangResult dissassembleDXILUsingDXC( RefPtr sharedLib(new TemporarySharedLibrary(handle, moduleFilePath)); sharedLib->m_temporaryFileSet = productFileSet; productFileSet.clear(); + + outSharedLib = sharedLib; } else { -- cgit v1.2.3