Cycles: Enable advanced shading for NVidia OpenCL kernel

It was kept disabled due to render artifacts which weer in fact caused by bad
memory access, which is fixed in the previous commit.

We now also can make it enabled in regular AMD split kernel after someone tests
the updated code.
This commit is contained in:
Sergey Sharybin 2015-05-26 21:11:58 +05:00
parent cf19012fb0
commit 6245f4a39c

@ -97,21 +97,7 @@ CCL_NAMESPACE_BEGIN
#ifdef __KERNEL_OPENCL_NVIDIA__
# define __KERNEL_SHADING__
/* TODO(sergey): Advanced shading code still requires work
* for split kernel.
*/
# ifndef __SPLIT_KERNEL__
# define __KERNEL_ADV_SHADING__
# else
# define __MULTI_CLOSURE__
# define __TRANSPARENT_SHADOWS__
# define __PASSES__
# define __BACKGROUND_MIS__
# define __LAMP_MIS__
# define __AO__
# define __HAIR__
# define __CAMERA_MOTION__
# endif
# define __KERNEL_ADV_SHADING__
# ifdef __KERNEL_EXPERIMENTAL__
# define __CMJ__
# endif