Blender Git Loki
Git Commits -> Revision cfe33f3
Revision cfe33f3 by Brecht Van Lommel (soc-2017-normal-tools) October 10, 2017, 14:18 (GMT) |
Code refactor: remove rng_state buffer and compute hash on the fly. A little faster on some benchmark scenes, a little slower on others, seems about performance neutral on average and saves a little memory. |
Commit Details:
Full Hash: cfe33f3d585ae15cb73671b5cd9e2650757797c3
Parent Commit: b7a753c
Committed By: Rohan Rathi
Lines Changed: +21, -93
25 Modified Paths:
/intern/cycles/device/device_cpu.cpp (+3, -5) (Diff)
/intern/cycles/device/device_cuda.cpp (+0, -4) (Diff)
/intern/cycles/device/device_multi.cpp (+0, -1) (Diff)
/intern/cycles/device/device_network.cpp (+0, -2) (Diff)
/intern/cycles/device/device_network.h (+2, -2) (Diff)
/intern/cycles/device/opencl/opencl_mega.cpp (+1, -3) (Diff)
/intern/cycles/device/opencl/opencl_split.cpp (+2, -6) (Diff)
/intern/cycles/kernel/kernels/cpu/kernel_cpu.h (+0, -2) (Diff)
/intern/cycles/kernel/kernels/cpu/kernel_cpu_impl.h (+1, -3) (Diff)
/intern/cycles/kernel/kernels/cuda/kernel.cu (+2, -2) (Diff)
/intern/cycles/kernel/kernels/cuda/kernel_split.cu (+0, -2) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel.cl (+1, -2) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_data_init.cl (+0, -2) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_split_function.h (+0, -2) (Diff)
/intern/cycles/kernel/kernel_path.h (+2, -3) (Diff)
/intern/cycles/kernel/kernel_path_branched.h (+2, -3) (Diff)
/intern/cycles/kernel/kernel_path_common.h (+1, -6) (Diff)
/intern/cycles/kernel/kernel_random.h (+2, -2) (Diff)
/intern/cycles/kernel/kernel_types.h (+0, -1) (Diff)
/intern/cycles/kernel/split/kernel_buffer_update.h (+1, -5) (Diff)
/intern/cycles/kernel/split/kernel_data_init.h (+1, -14) (Diff)
/intern/cycles/kernel/split/kernel_path_init.h (+0, -5) (Diff)
/intern/cycles/render/buffers.cpp (+0, -11) (Diff)
/intern/cycles/render/buffers.h (+0, -3) (Diff)
/intern/cycles/render/session.cpp (+0, -2) (Diff)
/intern/cycles/device/device_cuda.cpp (+0, -4) (Diff)
/intern/cycles/device/device_multi.cpp (+0, -1) (Diff)
/intern/cycles/device/device_network.cpp (+0, -2) (Diff)
/intern/cycles/device/device_network.h (+2, -2) (Diff)
/intern/cycles/device/opencl/opencl_mega.cpp (+1, -3) (Diff)
/intern/cycles/device/opencl/opencl_split.cpp (+2, -6) (Diff)
/intern/cycles/kernel/kernels/cpu/kernel_cpu.h (+0, -2) (Diff)
/intern/cycles/kernel/kernels/cpu/kernel_cpu_impl.h (+1, -3) (Diff)
/intern/cycles/kernel/kernels/cuda/kernel.cu (+2, -2) (Diff)
/intern/cycles/kernel/kernels/cuda/kernel_split.cu (+0, -2) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel.cl (+1, -2) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_data_init.cl (+0, -2) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_split_function.h (+0, -2) (Diff)
/intern/cycles/kernel/kernel_path.h (+2, -3) (Diff)
/intern/cycles/kernel/kernel_path_branched.h (+2, -3) (Diff)
/intern/cycles/kernel/kernel_path_common.h (+1, -6) (Diff)
/intern/cycles/kernel/kernel_random.h (+2, -2) (Diff)
/intern/cycles/kernel/kernel_types.h (+0, -1) (Diff)
/intern/cycles/kernel/split/kernel_buffer_update.h (+1, -5) (Diff)
/intern/cycles/kernel/split/kernel_data_init.h (+1, -14) (Diff)
/intern/cycles/kernel/split/kernel_path_init.h (+0, -5) (Diff)
/intern/cycles/render/buffers.cpp (+0, -11) (Diff)
/intern/cycles/render/buffers.h (+0, -3) (Diff)
/intern/cycles/render/session.cpp (+0, -2) (Diff)