diff --git a/intern/cycles/device/device_opencl.cpp b/intern/cycles/device/device_opencl.cpp index f3d9aea452a..ee8070393c2 100644 --- a/intern/cycles/device/device_opencl.cpp +++ b/intern/cycles/device/device_opencl.cpp @@ -300,7 +300,7 @@ public: /* full shading only on NVIDIA cards at the moment */ if(platform_name == "NVIDIA CUDA") - build_options += "-D__KERNEL_SHADING__ -D__MULTI_CLOSURE__ -cl-nv-maxrregcount=24 -cl-nv-verbose "; + build_options += "-D__MULTI_CLOSURE__ -cl-nv-maxrregcount=24 -cl-nv-verbose "; if(platform_name == "Apple" || platform_name == "AMD Accelerated Parallel Processing") build_options += " -D__CL_NO_FLOAT3__ "; diff --git a/intern/cycles/kernel/kernel_types.h b/intern/cycles/kernel/kernel_types.h index 391dcd12dad..32da7c30616 100644 --- a/intern/cycles/kernel/kernel_types.h +++ b/intern/cycles/kernel/kernel_types.h @@ -45,7 +45,7 @@ CCL_NAMESPACE_BEGIN #endif #ifdef __KERNEL_OPENCL__ -//#define __KERNEL_SHADING__ +#define __KERNEL_SHADING__ //#define __KERNEL_ADV_SHADING__ #endif