diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-03-07 01:28:33 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-03-07 01:46:58 +0300 |
commit | b31b44c223ec4c1ca90e06a003a932aec811790a (patch) | |
tree | 78472a1a2c3d7aa216b03fba067850e17b8a9537 /intern | |
parent | afe6df1487fd001e18c30bd85660154753ece345 (diff) |
Fix error in Cycles Optix adaptive sampling after recent cleanup
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/device/device_optix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/device/device_optix.cpp b/intern/cycles/device/device_optix.cpp index 6983c35799d..30d624fdf7c 100644 --- a/intern/cycles/device/device_optix.cpp +++ b/intern/cycles/device/device_optix.cpp @@ -672,7 +672,7 @@ class OptiXDevice : public CUDADevice { // Run the adaptive sampling kernels at selected samples aligned to step samples. uint filter_sample = wtile.start_sample + wtile.num_samples - 1; if (task.adaptive_sampling.use && task.adaptive_sampling.need_filter(filter_sample)) { - adaptive_sampling_filter(&wtile, d_wtile_ptr, cuda_stream[thread_index]); + adaptive_sampling_filter(filter_sample, &wtile, d_wtile_ptr, cuda_stream[thread_index]); } // Wait for launch to finish |