diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-03-16 18:45:50 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-03-17 14:01:19 +0300 |
commit | 9873005ecd7c21e3a6d371833a64b3ce722a48ea (patch) | |
tree | 6eaa2055354fb3f451de2bfef3662caf5e5a8b31 /intern/cycles/device | |
parent | e17f7af0ce7e045e287b517f775a282a7d7cc8c1 (diff) |
Cleanup: simplify kernel features definition.
No functional changes, logic here got too complex after many changes over
the years.
Diffstat (limited to 'intern/cycles/device')
-rw-r--r-- | intern/cycles/device/opencl/opencl_split.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/device/opencl/opencl_split.cpp b/intern/cycles/device/opencl/opencl_split.cpp index 555707cecd5..fd7eebf0221 100644 --- a/intern/cycles/device/opencl/opencl_split.cpp +++ b/intern/cycles/device/opencl/opencl_split.cpp @@ -184,7 +184,7 @@ string OpenCLDevice::get_build_options(const DeviceRequestedFeatures& requested_ if (preview_kernel) { DeviceRequestedFeatures preview_features; preview_features.use_hair = true; - build_options += "-D__KERNEL_OPENCL_PREVIEW__ "; + build_options += "-D__KERNEL_AO_PREVIEW__ "; build_options += preview_features.get_build_options(); } else if (opencl_program_name == "split_do_volume" && !requested_features.use_volume) { |