forked from bartvdbraak/blender
223f45818e
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. |
||
---|---|---|
.. | ||
kernel_background_buffer_update.h | ||
kernel_data_init.h | ||
kernel_direct_lighting.h | ||
kernel_holdout_emission_blurring_pathtermination_ao.h | ||
kernel_lamp_emission.h | ||
kernel_next_iteration_setup.h | ||
kernel_path_init.h | ||
kernel_queue_enqueue.h | ||
kernel_scene_intersect.h | ||
kernel_shader_eval.h | ||
kernel_shadow_blocked.h | ||
kernel_split_common.h | ||
kernel_split_data.h |