Blender Git Loki

Git Commits -> Revision 303bc3d

March 3, 2017, 10:55 (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: 303bc3dc9653b8cba7edcd2e17e90c68fbf5aa34
Parent Commit: 4c271f2
Lines Changed: +9, -1

1 Modified Path:

/intern/cycles/kernel/split/kernel_data_init.h (+9, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021