Cycles: Un-inline triangle_intersect_precalc() on Apple OpenCL

This gives quite the same problems as experimental CUDA kernels
and for until it's found a root cause of the problem we'd just
explicitly uninline the function.
This commit is contained in:
Sergey Sharybin 2015-06-20 18:00:30 +02:00
parent 63dd554ff1
commit 34d665a4a4

@ -63,9 +63,11 @@ ccl_device_noinline
ccl_device_inline
# endif
# endif /* (defined(i386) || defined(_M_IX86)) */
#else /* defined(__KERNEL_CUDA__) */
#elif defined(__KERNEL_OPENCL_APPLE__)
ccl_device_noinline
#else /* defined(__KERNEL_OPENCL_APPLE__) */
ccl_device_inline
#endif /* defined(__KERNEL_CUDA__) */
#endif /* defined(__KERNEL_OPENCL_APPLE__) */
void triangle_intersect_precalc(float3 dir,
IsectPrecalc *isect_precalc)
{