Blender Git Loki
Git Commits -> Revision 5a39aaf
Revision 5a39aaf by Sergey Sharybin (cycles_kernel_split) May 7, 2015, 13:15 (GMT) |
Cycles kernel split: Move device requested features to own struct Previously it was all stored in the device itself, which is not really good practice. Now all parameters which are related on what exact kernel with what feature set to load are wrapped into own struct which is passed to load_kenrels() function. Network render part is not really tested and likely is broken. |
Commit Details:
Full Hash: 5a39aaf64b4d3e54b048ef4c2bace751046391b8
Parent Commit: b5b7275
Lines Changed: +97, -58
7 Modified Paths:
/intern/cycles/device/device.h (+40, -10) (Diff)
/intern/cycles/device/device_cuda.cpp (+3, -3) (Diff)
/intern/cycles/device/device_multi.cpp (+3, -11) (Diff)
/intern/cycles/device/device_network.cpp (+11, -5) (Diff)
/intern/cycles/device/device_opencl.cpp (+17, -15) (Diff)
/intern/cycles/render/session.cpp (+20, -14) (Diff)
/intern/cycles/render/session.h (+3, -0) (Diff)
/intern/cycles/device/device_cuda.cpp (+3, -3) (Diff)
/intern/cycles/device/device_multi.cpp (+3, -11) (Diff)
/intern/cycles/device/device_network.cpp (+11, -5) (Diff)
/intern/cycles/device/device_opencl.cpp (+17, -15) (Diff)
/intern/cycles/render/session.cpp (+20, -14) (Diff)
/intern/cycles/render/session.h (+3, -0) (Diff)