Blender Git Loki

Git Commits -> Revision 288e180

Revision 288e180 by Sergey Sharybin (cycles-x)
April 1, 2021, 13:04 (GMT)
Cycles: Allow early outputs from the integrator initialization

The was never an early output happening in this kernel, so the issue
was never detected yet.

Need to keep path and shadow path next kernels initialized to 0 in
this case, otherwise the kernel scheduling will not terminate the
path. Using path termination call is not possible in its current
implementation by the looks of it, because there is no previous
kernel scheduled yet.

Solved by splitting the state initialization into two parts, allowing
an early output prior to the full initialization or even prior to the
ray initialization.

The thing which is good in this approach is that it also initializes
buffer access in the state, so that the adaptive sampling can access
it in the general manner to perform early output checks.

Commit Details:

Full Hash: 288e180a697fef49e10b9fb65bc82d4acd84b09f
Parent Commit: c572d08
Lines Changed: +18, -7

2 Modified Paths:

/intern/cycles/kernel/integrator/integrator_init_from_camera.h (+5, -2) (Diff)
/intern/cycles/kernel/kernel_path_state.h (+13, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021