Fix Cycles CUDA build after recent changes.
This commit is contained in:
parent
8864dde5bb
commit
ddf8c49736
|
@ -70,6 +70,8 @@ ccl_device_inline bool triangle_intersect(KernelGlobals *kg,
|
|||
return false;
|
||||
}
|
||||
|
||||
#ifdef __KERNEL_AVX2__
|
||||
|
||||
#define cross256(A,B, C,D) _mm256_fmsub_ps(A,B, _mm256_mul_ps(C,D))
|
||||
#if defined(__KERNEL_CUDA__) && __CUDA_ARCH__ < 300
|
||||
ccl_device_inline
|
||||
|
@ -542,6 +544,8 @@ int triangle_intersect8(KernelGlobals *kg,
|
|||
return result;
|
||||
}
|
||||
|
||||
#endif /* __KERNEL_AVX2__ */
|
||||
|
||||
/* Special ray intersection routines for subsurface scattering. In that case we
|
||||
* only want to intersect with primitives in the same object, and if case of
|
||||
* multiple hits we pick a single random primitive as the intersection point.
|
||||
|
|
Loading…
Reference in New Issue