diff options
author | Patrick Mours <pmours@nvidia.com> | 2020-02-24 19:53:41 +0300 |
---|---|---|
committer | Patrick Mours <pmours@nvidia.com> | 2020-02-24 19:53:41 +0300 |
commit | f7b6b7dda358c7928ca053c27357bc068b8c9d12 (patch) | |
tree | 5b9421ef05cd12afbdec9167983be1de25b65265 /source/blender/nodes/shader | |
parent | 14856e149ff5c225ffe5a4022794cd12f7632f71 (diff) |
Fix unnecessary Cycles OptiX kernel loading
With the OptiX viewport denoiser active, an OptiX device was added to the device list even when
rendering and denoising on different devices (e.g. CPU or CUDA) in background rendering. This
fixes it, so the OptiX device is only added when actually needed, as in only when OptiX denoising is
actually active in background rendering.
Diffstat (limited to 'source/blender/nodes/shader')
0 files changed, 0 insertions, 0 deletions