mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix "denoise_animation" tests with OptiX in Cycles
The OptiX device only loads the denoising kernels when the "use_denoising" feature is active. This was not set by the calling code however and therefore they were never loaded and attempting to launch them failed (see T69801). Reviewed By: brecht Differential Revision: https://developer.blender.org/D5946
This commit is contained in:
parent
61efeb6df9
commit
b89a1687ce
1 changed files with 3 additions and 1 deletions
|
|
@ -866,8 +866,10 @@ Denoiser::Denoiser(DeviceInfo &device_info)
|
|||
TaskScheduler::init();
|
||||
|
||||
/* Initialize device. */
|
||||
DeviceRequestedFeatures req;
|
||||
device = Device::create(device_info, stats, profiler, true);
|
||||
|
||||
DeviceRequestedFeatures req;
|
||||
req.use_denoising = true;
|
||||
device->load_kernels(req);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue