diff options
| author | Stephen Hines <srhines@google.com> | 2013-04-20 00:14:07 -0700 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2013-04-20 00:14:07 -0700 |
| commit | f0c7d1cf10090fb51e92ca730fb435e153ff9eed (patch) | |
| tree | 07ee742d7b733e0562fc56db73f4ba1bf121e276 /cpu_ref/rsCpuScript.cpp | |
| parent | f5027d36946d0679935b4e0eb4f59695709b274a (diff) | |
| parent | f47e8b4b86bf194e65398032f3f5f47a6da89f3f (diff) | |
am f47e8b4b: Mark use of a debug context with the RSCompilerDriver.
* commit 'f47e8b4b86bf194e65398032f3f5f47a6da89f3f':
Mark use of a debug context with the RSCompilerDriver.
Diffstat (limited to 'cpu_ref/rsCpuScript.cpp')
| -rw-r--r-- | cpu_ref/rsCpuScript.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpu_ref/rsCpuScript.cpp b/cpu_ref/rsCpuScript.cpp index ca852c1f..d9e0044c 100644 --- a/cpu_ref/rsCpuScript.cpp +++ b/cpu_ref/rsCpuScript.cpp @@ -153,6 +153,7 @@ bool RsdCpuScriptImpl::init(char const *resName, char const *cacheDir, if (mCtx->getContext()->getContextType() == RS_CONTEXT_TYPE_DEBUG) { // Use the libclcore_debug.bc instead of the default library. core_lib = bcc::RSInfo::LibCLCoreDebugPath; + mCompilerDriver->setDebugContext(true); } exec = mCompilerDriver->build(*mCompilerContext, cacheDir, resName, (const char *)bitcode, bitcodeSize, core_lib, |
