diff options
author | William Leeson <william@blender.org> | 2021-11-25 11:41:03 +0300 |
---|---|---|
committer | William Leeson <william@blender.org> | 2021-11-25 11:41:03 +0300 |
commit | c49d2cbe92a1a18bb3f9ddc04ddc3351ffd27286 (patch) | |
tree | ab585ec4daf8442b054f9bfdc789b6463ae07cf4 /intern/cycles/integrator/path_trace_work_gpu.cpp | |
parent | 827c5b399e0bb93182586723a811fcc5afd0d4db (diff) | |
parent | b41c72b710d4013fd6d67dc49a8ebb2a416b4462 (diff) |
Merge branch 'blender-v3.0-release' to bring in D13042:
Fix performance decrease with Scrambling Distance on
Diffstat (limited to 'intern/cycles/integrator/path_trace_work_gpu.cpp')
-rw-r--r-- | intern/cycles/integrator/path_trace_work_gpu.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/intern/cycles/integrator/path_trace_work_gpu.cpp b/intern/cycles/integrator/path_trace_work_gpu.cpp index 956aa6a8c90..05e53f816a0 100644 --- a/intern/cycles/integrator/path_trace_work_gpu.cpp +++ b/intern/cycles/integrator/path_trace_work_gpu.cpp @@ -258,7 +258,8 @@ void PathTraceWorkGPU::render_samples(RenderStatistics &statistics, * become busy after adding new tiles). This is especially important for the shadow catcher which * schedules work in halves of available number of paths. */ work_tile_scheduler_.set_max_num_path_states(max_num_paths_ / 8); - + work_tile_scheduler_.set_accelerated_rt((device_->get_bvh_layout_mask() & BVH_LAYOUT_OPTIX) != + 0); work_tile_scheduler_.reset(effective_buffer_params_, start_sample, samples_num, |