Blender Git Commit Log

Git Commits -> Revision 223f458

Revision 223f458 by Mai Lavelle (master)
March 8, 2017, 06:31 (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: 223f45818ec216a76d89de0efcb3b0292eabf71e
Parent Commit: cd7d566
Lines Changed: +9, -1

1 Modified Path:

/intern/cycles/kernel/split/kernel_data_init.h (+9, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021