diff options
Diffstat (limited to 'intern/cycles/device/cpu/device.cpp')
-rw-r--r-- | intern/cycles/device/cpu/device.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/intern/cycles/device/cpu/device.cpp b/intern/cycles/device/cpu/device.cpp index 5ae0130785b..9b249063aec 100644 --- a/intern/cycles/device/cpu/device.cpp +++ b/intern/cycles/device/cpu/device.cpp @@ -7,6 +7,7 @@ /* Used for `info.denoisers`. */ /* TODO(sergey): The denoisers are probably to be moved completely out of the device into their * own class. But until then keep API consistent with how it used to work before. */ +#include "util/guiding.h" #include "util/openimagedenoise.h" CCL_NAMESPACE_BEGIN @@ -27,6 +28,12 @@ void device_cpu_info(vector<DeviceInfo> &devices) info.has_osl = true; info.has_nanovdb = true; info.has_profiling = true; + if (guiding_supported()) { + info.has_guiding = true; + } + else { + info.has_guiding = false; + } if (openimagedenoise_supported()) { info.denoisers |= DENOISER_OPENIMAGEDENOISE; } |