diff options
Diffstat (limited to 'intern/cycles/render/session.cpp')
-rw-r--r-- | intern/cycles/render/session.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/intern/cycles/render/session.cpp b/intern/cycles/render/session.cpp index 7a894c1e98a..c77a20787f5 100644 --- a/intern/cycles/render/session.cpp +++ b/intern/cycles/render/session.cpp @@ -285,9 +285,7 @@ void Session::run_gpu() if (progress.get_cancel()) break; - } - if (!no_tiles) { /* buffers mutex is locked entirely while rendering each * sample, and released/reacquired on each iteration to allow * reset and draw in between */ @@ -978,7 +976,7 @@ void Session::update_status_time(bool show_pause, bool show_done) */ substatus += string_printf(", Sample %d/%d", progress.get_current_sample(), num_samples); } - if (params.full_denoising) { + if (params.full_denoising || params.optix_denoising) { substatus += string_printf(", Denoised %d tiles", progress.get_denoised_tiles()); } else if (params.run_denoising) { @@ -1038,6 +1036,7 @@ void Session::render() task.denoising_from_render = true; task.denoising_do_filter = params.full_denoising; + task.denoising_use_optix = params.optix_denoising; task.denoising_write_passes = params.write_denoising_passes; } |