Code refactor: tweaks in SSS code to prepare for coming changes.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Thu, 8 Feb 2018 11:45:12 +0000 (12:45 +0100)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Thu, 8 Feb 2018 15:56:11 +0000 (16:56 +0100)
commitaabafece03fee807d6b9e5e6d40273f70cc4b9d8
treef104da074a4fe085ccd8296a4a0d1826312c3ef6
parent28e2bc90dd8df3032b831a502e15e3a2976eb9de
Code refactor: tweaks in SSS code to prepare for coming changes.

This also fixes a subtle bug in the split kernel branched path SSS, the
volume stack update can't be shared between multiple hit points.
intern/cycles/kernel/kernel_path.h
intern/cycles/kernel/kernel_path_branched.h
intern/cycles/kernel/kernel_path_subsurface.h
intern/cycles/kernel/kernel_subsurface.h
intern/cycles/kernel/split/kernel_split_data_types.h
intern/cycles/kernel/split/kernel_subsurface_scatter.h