diff options
author | Stephen Hines <srhines@google.com> | 2015-07-29 00:34:30 -0700 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2015-07-30 14:35:41 -0700 |
commit | d47777179abaffa360d4ba6a59c19498c61350c1 (patch) | |
tree | c35efeeaf79133b3ebfe3f282220529e87e1ff1d | |
parent | 6052c4012d291951c0835a7a36bbb3baae2b2045 (diff) | |
download | android_frameworks_compile_libbcc-d47777179abaffa360d4ba6a59c19498c61350c1.tar.gz android_frameworks_compile_libbcc-d47777179abaffa360d4ba6a59c19498c61350c1.tar.bz2 android_frameworks_compile_libbcc-d47777179abaffa360d4ba6a59c19498c61350c1.zip |
Fix missing call to setLinkRuntimeCallback() from compat path.
Bug: 22809453
This call was missing from the buildForCompatLib() path, leading to
potential problems with GPGPU drivers that depend on that callback.
Change-Id: I236cf9f6e067d243977fbcce154e79953c9e33aa
(cherry picked from commit efb3af3ba00e8dc9a10130ec66727ebd8c11a2ed)
-rw-r--r-- | lib/Renderscript/RSCompilerDriver.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Renderscript/RSCompilerDriver.cpp b/lib/Renderscript/RSCompilerDriver.cpp index 7a8d4da..0e769e9 100644 --- a/lib/Renderscript/RSCompilerDriver.cpp +++ b/lib/Renderscript/RSCompilerDriver.cpp @@ -379,6 +379,7 @@ bool RSCompilerDriver::buildForCompatLib(RSScript &pScript, const char *pOut, pScript.setEmbedGlobalInfo(mEmbedGlobalInfo); pScript.setEmbedGlobalInfoSkipConstant(mEmbedGlobalInfoSkipConstant); + pScript.setLinkRuntimeCallback(getLinkRuntimeCallback()); Compiler::ErrorCode status = compileScript(pScript, pOut, pOut, pRuntimePath, pBuildChecksum, pDumpIR); |