Cycles: Pass __KERNEL_EXPERIMENTAL__ to OpenCL split kernels

Experimental feature set id currently unavailable for megakernel, it'll
require some changes to the cache system to distinguish cached regular
kernels from cached experimental kernels.

Currently unused, but some features will be enabled soon.
This commit is contained in:
Sergey Sharybin 2015-05-15 12:49:25 +05:00
parent 2ab909a88c
commit c2b9f78415

@ -2000,6 +2000,9 @@ public:
#ifdef __WORK_STEALING__
common_custom_build_options += "-D__WORK_STEALING__ ";
#endif
if(requested_features.experimental) {
common_custom_build_options += "-D__KERNEL_EXPERIMENTAL__ ";
}
#define LOAD_KERNEL(program, name) \
do { \