diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-05-15 10:49:25 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-05-15 11:22:47 +0300 |
commit | c2b9f784153f20b75444632ef3b57aa3b1597f31 (patch) | |
tree | d59b9e44fb58e3ac96aacfcb4ba09ffa97bd7113 /intern | |
parent | 2ab909a88c3e6503bb2505cf2ac573f1f3363faa (diff) |
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.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/device/device_opencl.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/device/device_opencl.cpp b/intern/cycles/device/device_opencl.cpp index 05c8530a7a7..75d08cb44b1 100644 --- a/intern/cycles/device/device_opencl.cpp +++ b/intern/cycles/device/device_opencl.cpp @@ -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 { \ |