--Bug fixes:

-Add Zeps to global OpenCL function list for any ember that contains 3D params.
This commit is contained in:
mfeemster
2015-11-23 16:33:43 -08:00
parent 5e82167155
commit cdcbd409ab
3 changed files with 61 additions and 1 deletions

View File

@ -579,6 +579,10 @@ string IterOpenCLKernelCreator<T>::GlobalFunctionsString(const Ember<T>& ember)
}
}
if (ember.ProjBits())
if (!Contains(funcNames, zeps))
funcNames.push_back(zeps);
for (auto& funcName : funcNames)
if(auto text = m_FunctionMapper.GetGlobalFunc(funcName))
os << *text << endl;