diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-05-19 01:14:23 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-05-19 19:30:43 +0300 |
commit | 3e472d87a8d13aee078e156d584cf2171ed2d8a3 (patch) | |
tree | 3ee6dbe10baf327c50f60570ef0b58632148abe1 /intern/cycles/device/device_multi.cpp | |
parent | 41b912925ca77716ad29a0bfdf969c7c1696942e (diff) |
Cycles OpenCL: disable AO preview kernels
These seem to be causing some stability issues, and really are just not that
useful in practice. Compiling them is slow already, so it does not improve
the user experience much to show an AO preview if it's not nearly instant.
Diffstat (limited to 'intern/cycles/device/device_multi.cpp')
-rw-r--r-- | intern/cycles/device/device_multi.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/intern/cycles/device/device_multi.cpp b/intern/cycles/device/device_multi.cpp index 35faadcbec5..85ffa5fcd52 100644 --- a/intern/cycles/device/device_multi.cpp +++ b/intern/cycles/device/device_multi.cpp @@ -232,10 +232,6 @@ class MultiDevice : public Device { foreach (SubDevice &sub, devices) { DeviceKernelStatus subresult = sub.device->get_active_kernel_switch_state(); switch (subresult) { - case DEVICE_KERNEL_WAITING_FOR_FEATURE_KERNEL: - result = subresult; - break; - case DEVICE_KERNEL_FEATURE_KERNEL_INVALID: case DEVICE_KERNEL_FEATURE_KERNEL_AVAILABLE: return subresult; |