Blender Git Commit Log

Git Commits -> Revision dbf3b71

Revision dbf3b71 by Mai Lavelle (cycles_split_kernel)
March 3, 2017, 10:57 (GMT)
Cycles: Initialize rng_state for split kernel

Because the split kernel can render multiple samples in parallel it is
necessary to have everything initialized before rendering of any samples
begins. The code that normally handles initialization of
`rng_state` (`kernel_path_trace_setup()`) only does so for the first sample,
which was causing artifacts in the split kernel due to uninitialized
`rng_state` for some samples.

Note that because the split kernel can render samples in parallel this
means that the split kernel is incompatible with the LCG.

Commit Details:

Full Hash: dbf3b712011d17f5d1ab23af1d5ade0acc2bd317
Parent Commit: 4180a18
Lines Changed: +9, -1

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021