Blender Git Loki
Git Commits -> Revision cfa8b76
Revision cfa8b76 by Brecht Van Lommel (master) August 19, 2017, 16:14 (GMT) |
Code cleanup: move rng into path state. Also pass by value and don't write back now that it is just a hash for seeding and no longer an LCG state. Together this makes CUDA a tiny bit faster in my tests, but mainly simplifies code. |
Commit Details:
Full Hash: cfa8b762e20dce2e59aff5dffed872a9e3631f3c
Parent Commit: 1cc4033
Lines Changed: +192, -271
28 Modified Paths:
/intern/cycles/kernel/kernel_bake.h (+19, -26) (Diff)
/intern/cycles/kernel/kernel_emission.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_path.h (+29, -38) (Diff)
/intern/cycles/kernel/kernel_path_branched.h (+26, -33) (Diff)
/intern/cycles/kernel/kernel_path_common.h (+4, -4) (Diff)
/intern/cycles/kernel/kernel_path_state.h (+3, -2) (Diff)
/intern/cycles/kernel/kernel_path_subsurface.h (+3, -5) (Diff)
/intern/cycles/kernel/kernel_path_surface.h (+15, -19) (Diff)
/intern/cycles/kernel/kernel_path_volume.h (+19, -22) (Diff)
/intern/cycles/kernel/kernel_random.h (+26, -32) (Diff)
/intern/cycles/kernel/kernel_shader.h (+3, -3) (Diff)
/intern/cycles/kernel/kernel_shadow.h (+0, -1) (Diff)
/intern/cycles/kernel/kernel_subsurface.h (+2, -2) (Diff)
/intern/cycles/kernel/kernel_types.h (+2, -5) (Diff)
/intern/cycles/kernel/kernel_volume.h (+7, -10) (Diff)
/intern/cycles/kernel/split/kernel_branched.h (+4, -3) (Diff)
/intern/cycles/kernel/split/kernel_buffer_update.h (+3, -4) (Diff)
/intern/cycles/kernel/split/kernel_direct_lighting.h (+3, -6) (Diff)
/intern/cycles/kernel/split/kernel_do_volume.h (+6, -10) (Diff)
/intern/cycles/kernel/split/kernel_holdout_emission_blurring_pathtermination_ao.h (+1, -4) (Diff)
/intern/cycles/kernel/split/kernel_next_iteration_setup.h (+1, -4) (Diff)
/intern/cycles/kernel/split/kernel_path_init.h (+3, -4) (Diff)
/intern/cycles/kernel/split/kernel_scene_intersect.h (+1, -2) (Diff)
/intern/cycles/kernel/split/kernel_shader_eval.h (+4, -7) (Diff)
/intern/cycles/kernel/split/kernel_shadow_blocked_ao.h (+2, -5) (Diff)
/intern/cycles/kernel/split/kernel_shadow_blocked_dl.h (+0, -4) (Diff)
/intern/cycles/kernel/split/kernel_split_data_types.h (+0, -2) (Diff)
/intern/cycles/kernel/split/kernel_subsurface_scatter.h (+5, -13) (Diff)
/intern/cycles/kernel/kernel_emission.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_path.h (+29, -38) (Diff)
/intern/cycles/kernel/kernel_path_branched.h (+26, -33) (Diff)
/intern/cycles/kernel/kernel_path_common.h (+4, -4) (Diff)
/intern/cycles/kernel/kernel_path_state.h (+3, -2) (Diff)
/intern/cycles/kernel/kernel_path_subsurface.h (+3, -5) (Diff)
/intern/cycles/kernel/kernel_path_surface.h (+15, -19) (Diff)
/intern/cycles/kernel/kernel_path_volume.h (+19, -22) (Diff)
/intern/cycles/kernel/kernel_random.h (+26, -32) (Diff)
/intern/cycles/kernel/kernel_shader.h (+3, -3) (Diff)
/intern/cycles/kernel/kernel_shadow.h (+0, -1) (Diff)
/intern/cycles/kernel/kernel_subsurface.h (+2, -2) (Diff)
/intern/cycles/kernel/kernel_types.h (+2, -5) (Diff)
/intern/cycles/kernel/kernel_volume.h (+7, -10) (Diff)
/intern/cycles/kernel/split/kernel_branched.h (+4, -3) (Diff)
/intern/cycles/kernel/split/kernel_buffer_update.h (+3, -4) (Diff)
/intern/cycles/kernel/split/kernel_direct_lighting.h (+3, -6) (Diff)
/intern/cycles/kernel/split/kernel_do_volume.h (+6, -10) (Diff)
/intern/cycles/kernel/split/kernel_holdout_emission_blurring_pathtermination_ao.h (+1, -4) (Diff)
/intern/cycles/kernel/split/kernel_next_iteration_setup.h (+1, -4) (Diff)
/intern/cycles/kernel/split/kernel_path_init.h (+3, -4) (Diff)
/intern/cycles/kernel/split/kernel_scene_intersect.h (+1, -2) (Diff)
/intern/cycles/kernel/split/kernel_shader_eval.h (+4, -7) (Diff)
/intern/cycles/kernel/split/kernel_shadow_blocked_ao.h (+2, -5) (Diff)
/intern/cycles/kernel/split/kernel_shadow_blocked_dl.h (+0, -4) (Diff)
/intern/cycles/kernel/split/kernel_split_data_types.h (+0, -2) (Diff)
/intern/cycles/kernel/split/kernel_subsurface_scatter.h (+5, -13) (Diff)