forked from bartvdbraak/blender
Cycles: Enable CMJ for Intel/NVidia experimental split kernels
It is still disabled for AMD devices since can't test if it works fine on this hardware.
This commit is contained in:
parent
c2b9f78415
commit
c86a6f3efb
@ -112,6 +112,9 @@ CCL_NAMESPACE_BEGIN
|
||||
# define __HAIR__
|
||||
# define __CAMERA_MOTION__
|
||||
# endif
|
||||
# ifdef __KERNEL_EXPERIMENTAL__
|
||||
# define __CMJ__
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef __KERNEL_OPENCL_APPLE__
|
||||
@ -136,9 +139,12 @@ CCL_NAMESPACE_BEGIN
|
||||
#endif
|
||||
|
||||
#ifdef __KERNEL_OPENCL_INTEL_CPU__
|
||||
#define __CL_USE_NATIVE__
|
||||
#define __KERNEL_SHADING__
|
||||
#define __KERNEL_ADV_SHADING__
|
||||
# define __CL_USE_NATIVE__
|
||||
# define __KERNEL_SHADING__
|
||||
# define __KERNEL_ADV_SHADING__
|
||||
# ifdef __KERNEL_EXPERIMENTAL__
|
||||
# define __CMJ__
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#endif // __KERNEL_OPENCL__
|
||||
|
Loading…
Reference in New Issue
Block a user