diff options
author | Julian Eisel <julian@blender.org> | 2022-11-10 15:17:42 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2022-11-10 15:17:42 +0300 |
commit | 7246c387435769a169ac24c91434c615df6434b4 (patch) | |
tree | 61842e3e0ce85e80720fdd7476d44d2e629f59fd /intern/cycles/device/cpu/device.cpp | |
parent | c5f55d17096d373791363e46004176e3f7f7ae52 (diff) | |
parent | 0b4bd3ddc016298e868169a541cf6c132b10c587 (diff) |
Merge branch 'master' into asset-browser-grid-viewasset-browser-grid-view
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; } |