forked from bartvdbraak/blender
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:
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 { \
|
||||
|
Loading…
Reference in New Issue
Block a user