Cycles: disable motion blur for CUDA entirely now, also goes wrong on other
architectures. Still did not find a good solution.
This commit is contained in:
@@ -444,15 +444,10 @@ __device_inline bool bvh_intersect_motion(KernelGlobals *kg, const Ray *ray, con
|
||||
__device_inline bool scene_intersect(KernelGlobals *kg, const Ray *ray, const uint visibility, Intersection *isect)
|
||||
{
|
||||
#ifdef __OBJECT_MOTION__
|
||||
#if !defined(__KERNEL_CUDA__) || (__CUDA_ARCH__ >= 210)
|
||||
if(kernel_data.bvh.have_motion)
|
||||
return bvh_intersect_motion(kg, ray, visibility, isect);
|
||||
else
|
||||
return bvh_intersect(kg, ray, visibility, isect);
|
||||
#else
|
||||
/* todo: fix cuda sm 2.0 motion blur */
|
||||
return bvh_intersect(kg, ray, visibility, isect);
|
||||
#endif
|
||||
#else
|
||||
return bvh_intersect(kg, ray, visibility, isect);
|
||||
#endif
|
||||
|
@@ -109,9 +109,13 @@ CCL_NAMESPACE_BEGIN
|
||||
#define __BACKGROUND_MIS__
|
||||
#define __AO__
|
||||
#define __CAMERA_MOTION__
|
||||
|
||||
#ifndef __KERNEL_CUDA__
|
||||
#define __OBJECT_MOTION__
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
//#define __SOBOL_FULL_SCREEN__
|
||||
|
||||
/* Shader Evaluation */
|
||||
|
Reference in New Issue
Block a user