Blender Git Loki
Git Commits -> Revision 9c88fe0
Revision 9c88fe0 by Mai Lavelle (split-kernel-faster-building) November 11, 2017, 11:45 (GMT) |
Cycles: Speed up split kernel builds by using split direct_emission functions This removes the indirect call to `svm_eval_nodes` from the `kernel_direct_lighting` kernel, and speeds up kernel build times by 4-5 seconds. Render time is slower by ~1%. It should be possible to apply this technique to other areas of the kernel to get even better build times. Note: this breaks branched path and shadow catcher in the split kernel. Should be an easy fix, will do later. |
Commit Details:
Full Hash: 9c88fe08a00b5662eb84e1b40e06bb9ff6c4a510
Parent Commit: 51f1266
Lines Changed: +47, -50
6 Modified Paths:
/intern/cycles/device/device_split_kernel.cpp (+1, -0) (Diff)
/intern/cycles/kernel/kernel_light.h (+0, -17) (Diff)
/intern/cycles/kernel/kernel_types.h (+17, -0) (Diff)
/intern/cycles/kernel/split/kernel_direct_lighting.h (+14, -23) (Diff)
/intern/cycles/kernel/split/kernel_shadow_blocked_dl.h (+14, -4) (Diff)
/intern/cycles/kernel/split/kernel_split_data_types.h (+1, -6) (Diff)
/intern/cycles/kernel/kernel_light.h (+0, -17) (Diff)
/intern/cycles/kernel/kernel_types.h (+17, -0) (Diff)
/intern/cycles/kernel/split/kernel_direct_lighting.h (+14, -23) (Diff)
/intern/cycles/kernel/split/kernel_shadow_blocked_dl.h (+14, -4) (Diff)
/intern/cycles/kernel/split/kernel_split_data_types.h (+1, -6) (Diff)