Blender Git Loki
Git Commits -> Revision 087331c
Revision 087331c by Mai Lavelle (master) November 9, 2017, 06:04 (GMT) |
Cycles: Replace __MAX_CLOSURE__ build option with runtime integrator variable Goal is to reduce OpenCL kernel recompilations. Currently viewport renders are still set to use 64 closures as this seems to be faster and we don't want to cause a performance regression there. Needs to be investigated. Reviewed By: brecht Differential Revision: https://developer.blender.org/D2775 |
Commit Details:
Full Hash: 087331c495b04ebd37903c0dc0e46262354cf026
Parent Commit: 6febe6e
Lines Changed: +87, -59
28 Modified Paths:
/intern/cycles/device/device.cpp (+0, -1) (Diff)
/intern/cycles/device/device.h (+0, -6) (Diff)
/intern/cycles/device/device_cpu.cpp (+0, -1) (Diff)
/intern/cycles/device/device_cuda.cpp (+0, -4) (Diff)
/intern/cycles/device/device_split_kernel.cpp (+0, -3) (Diff)
/intern/cycles/device/device_split_kernel.h (+0, -3) (Diff)
/intern/cycles/kernel/kernel_bake.h (+4, -4) (Diff)
/intern/cycles/kernel/kernel_path.h (+2, -2) (Diff)
/intern/cycles/kernel/kernel_path_branched.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_subsurface.h (+5, -5) (Diff)
/intern/cycles/kernel/kernel_types.h (+9, -4) (Diff)
/intern/cycles/kernel/kernel_volume.h (+1, -1) (Diff)
/intern/cycles/kernel/split/kernel_branched.h (+10, -2) (Diff)
/intern/cycles/kernel/split/kernel_direct_lighting.h (+1, -1) (Diff)
/intern/cycles/kernel/split/kernel_do_volume.h (+2, -2) (Diff)
/intern/cycles/kernel/split/kernel_holdout_emission_blurring_pathtermination_ao.h (+1, -1) (Diff)
/intern/cycles/kernel/split/kernel_indirect_background.h (+1, -1) (Diff)
/intern/cycles/kernel/split/kernel_lamp_emission.h (+1, -1) (Diff)
/intern/cycles/kernel/split/kernel_next_iteration_setup.h (+2, -2) (Diff)
/intern/cycles/kernel/split/kernel_shader_eval.h (+3, -3) (Diff)
/intern/cycles/kernel/split/kernel_shader_setup.h (+1, -1) (Diff)
/intern/cycles/kernel/split/kernel_shader_sort.h (+1, -1) (Diff)
/intern/cycles/kernel/split/kernel_shadow_blocked_ao.h (+1, -1) (Diff)
/intern/cycles/kernel/split/kernel_shadow_blocked_dl.h (+1, -1) (Diff)
/intern/cycles/kernel/split/kernel_split_data.h (+17, -0) (Diff)
/intern/cycles/kernel/split/kernel_split_data_types.h (+11, -3) (Diff)
/intern/cycles/kernel/split/kernel_subsurface_scatter.h (+2, -2) (Diff)
/intern/cycles/render/session.cpp (+10, -2) (Diff)
/intern/cycles/device/device.h (+0, -6) (Diff)
/intern/cycles/device/device_cpu.cpp (+0, -1) (Diff)
/intern/cycles/device/device_cuda.cpp (+0, -4) (Diff)
/intern/cycles/device/device_split_kernel.cpp (+0, -3) (Diff)
/intern/cycles/device/device_split_kernel.h (+0, -3) (Diff)
/intern/cycles/kernel/kernel_bake.h (+4, -4) (Diff)
/intern/cycles/kernel/kernel_path.h (+2, -2) (Diff)
/intern/cycles/kernel/kernel_path_branched.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_subsurface.h (+5, -5) (Diff)
/intern/cycles/kernel/kernel_types.h (+9, -4) (Diff)
/intern/cycles/kernel/kernel_volume.h (+1, -1) (Diff)
/intern/cycles/kernel/split/kernel_branched.h (+10, -2) (Diff)
/intern/cycles/kernel/split/kernel_direct_lighting.h (+1, -1) (Diff)
/intern/cycles/kernel/split/kernel_do_volume.h (+2, -2) (Diff)
/intern/cycles/kernel/split/kernel_holdout_emission_blurring_pathtermination_ao.h (+1, -1) (Diff)
/intern/cycles/kernel/split/kernel_indirect_background.h (+1, -1) (Diff)
/intern/cycles/kernel/split/kernel_lamp_emission.h (+1, -1) (Diff)
/intern/cycles/kernel/split/kernel_next_iteration_setup.h (+2, -2) (Diff)
/intern/cycles/kernel/split/kernel_shader_eval.h (+3, -3) (Diff)
/intern/cycles/kernel/split/kernel_shader_setup.h (+1, -1) (Diff)
/intern/cycles/kernel/split/kernel_shader_sort.h (+1, -1) (Diff)
/intern/cycles/kernel/split/kernel_shadow_blocked_ao.h (+1, -1) (Diff)
/intern/cycles/kernel/split/kernel_shadow_blocked_dl.h (+1, -1) (Diff)
/intern/cycles/kernel/split/kernel_split_data.h (+17, -0) (Diff)
/intern/cycles/kernel/split/kernel_split_data_types.h (+11, -3) (Diff)
/intern/cycles/kernel/split/kernel_subsurface_scatter.h (+2, -2) (Diff)
/intern/cycles/render/session.cpp (+10, -2) (Diff)