Cycles CUDA: reduce stack memory by reusing ShaderData.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Sun, 22 May 2016 20:35:47 +0000 (22:35 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Mon, 23 May 2016 20:29:24 +0000 (22:29 +0200)
commit999d5a67852b5958b9361c9888734ebc889e4a22
tree5f3c5ad0409c77fc6ae3486420b3888fa1e2fea8
parentaf4a04eae07184f7437a8c51858a4ddb8a2e3e4c
Cycles CUDA: reduce stack memory by reusing ShaderData.

57% less for path and 48% less for branched path.
14 files changed:
intern/cycles/kernel/kernel_bake.h
intern/cycles/kernel/kernel_emission.h
intern/cycles/kernel/kernel_path.h
intern/cycles/kernel/kernel_path_branched.h
intern/cycles/kernel/kernel_path_state.h
intern/cycles/kernel/kernel_path_surface.h
intern/cycles/kernel/kernel_path_volume.h
intern/cycles/kernel/kernel_shadow.h
intern/cycles/kernel/kernel_volume.h
intern/cycles/kernel/split/kernel_background_buffer_update.h
intern/cycles/kernel/split/kernel_data_init.h
intern/cycles/kernel/split/kernel_direct_lighting.h
intern/cycles/kernel/split/kernel_lamp_emission.h
intern/cycles/kernel/split/kernel_shadow_blocked.h