forked from bartvdbraak/blender
Cleanup: Remove OpenCL __MULTI_CLOSURE__ sanity check, not needed anymore after 04a10907dc41.
This commit is contained in:
parent
ea753710bf
commit
f6abc96b6b
@ -101,9 +101,6 @@ static string opencl_kernel_build_options(const string& platform, const string *
|
||||
|
||||
if(opencl_kernel_use_debug())
|
||||
build_options += "-D__KERNEL_OPENCL_DEBUG__ ";
|
||||
|
||||
if(opencl_kernel_use_advanced_shading(platform))
|
||||
build_options += "-D__KERNEL_OPENCL_NEED_ADVANCED_SHADING__ ";
|
||||
|
||||
return build_options;
|
||||
}
|
||||
|
@ -151,12 +151,6 @@ CCL_NAMESPACE_BEGIN
|
||||
#define __HAIR__
|
||||
#endif
|
||||
|
||||
/* Sanity check */
|
||||
|
||||
#if defined(__KERNEL_OPENCL_NEED_ADVANCED_SHADING__) && !defined(__MULTI_CLOSURE__)
|
||||
#error "OpenCL: mismatch between advanced shading flags in device_opencl.cpp and kernel_types.h"
|
||||
#endif
|
||||
|
||||
/* Random Numbers */
|
||||
|
||||
typedef uint RNG;
|
||||
|
Loading…
Reference in New Issue
Block a user