Blender Git Commit Log

Git Commits -> Revision 7355a84

Revision 7355a84 by Sergey Sharybin (cycles-x)
April 20, 2021, 08:56 (GMT)
Cycles: Allow resetting convergence flag of pixel

This way it is possible to resume rendering with lower adaptive
sampling threshold.

Done as an extra argument to the convergence check function instead
of always re-calculating the flag based on the following ideas:

- The reset flag is the same for all threads, so it should not harm
coherency of GPU threads.

- Reset is not always used, and in cases when it is not used it is
cheaper to check boolean flag than to calculate the error norm.

So far again should be no functional changes, preparing for the new
development in the viewport.

Commit Details:

Full Hash: 7355a8457013cb4328e510338a792d401d7c1c95
Parent Commit: b6106e8
Lines Changed: +23, -19

11 Modified Paths:

/intern/cycles/device/cpu/kernel.h (+1, -0) (Diff)
/intern/cycles/integrator/path_trace.cpp (+1, -1) (Diff)
/intern/cycles/integrator/path_trace_work.h (+1, -1) (Diff)
/intern/cycles/integrator/path_trace_work_cpu.cpp (+2, -2) (Diff)
/intern/cycles/integrator/path_trace_work_cpu.h (+1, -1) (Diff)
/intern/cycles/integrator/path_trace_work_gpu.cpp (+4, -3) (Diff)
/intern/cycles/integrator/path_trace_work_gpu.h (+2, -2) (Diff)
/intern/cycles/kernel/device/cpu/kernel_arch.h (+1, -0) (Diff)
/intern/cycles/kernel/device/cpu/kernel_arch_impl.h (+2, -1) (Diff)
/intern/cycles/kernel/device/cuda/kernel.cu (+2, -1) (Diff)
/intern/cycles/kernel/kernel_adaptive_sampling.h (+6, -7) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021