Blender Git Commit Log
Git Commits -> Revision 9b6ed3a
Revision 9b6ed3a by Brecht Van Lommel (master) July 31, 2016, 00:34 (GMT) |
Cycles: refactor kernel closure storage to use structs per closure type. Reviewed By: dingto, sergey Differential Revision: https://developer.blender.org/D2127 |
Commit Details:
Full Hash: 9b6ed3a42b9a0fea56808fd5ce0d18cb5231f47b
Parent Commit: 1776f75
Lines Changed: +1215, -1360
1 Added Path:
/intern/cycles/kernel/closure/alloc.h (+90, -0) (View)
1 Deleted Path:
/intern/cycles/kernel/osl/osl_bssrdf.h (+0, -61)
33 Modified Paths:
/intern/cycles/kernel/closure/bsdf.h (+52, -23) (Diff)
/intern/cycles/kernel/closure/bsdf_ashikhmin_shirley.h (+24, -20) (Diff)
/intern/cycles/kernel/closure/bsdf_ashikhmin_velvet.h (+27, -8) (Diff)
/intern/cycles/kernel/closure/bsdf_diffuse.h (+25, -8) (Diff)
/intern/cycles/kernel/closure/bsdf_diffuse_ramp.h (+23, -12) (Diff)
/intern/cycles/kernel/closure/bsdf_hair.h (+47, -24) (Diff)
/intern/cycles/kernel/closure/bsdf_microfacet.h (+98, -60) (Diff)
/intern/cycles/kernel/closure/bsdf_microfacet_multi.h (+57, -50) (Diff)
/intern/cycles/kernel/closure/bsdf_oren_nayar.h (+33, -12) (Diff)
/intern/cycles/kernel/closure/bsdf_phong_ramp.h (+32, -24) (Diff)
/intern/cycles/kernel/closure/bsdf_reflection.h (+4, -3) (Diff)
/intern/cycles/kernel/closure/bsdf_refraction.h (+5, -4) (Diff)
/intern/cycles/kernel/closure/bsdf_toon.h (+50, -28) (Diff)
/intern/cycles/kernel/closure/bssrdf.h (+72, -41) (Diff)
/intern/cycles/kernel/closure/volume.h (+21, -5) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/kernel_shader.h (+25, -30) (Diff)
/intern/cycles/kernel/kernel_subsurface.h (+12, -15) (Diff)
/intern/cycles/kernel/kernel_types.h (+25, -26) (Diff)
/intern/cycles/kernel/osl/background.cpp (+17, -3) (Diff)
/intern/cycles/kernel/osl/bsdf_diffuse_ramp.cpp (+13, -33) (Diff)
/intern/cycles/kernel/osl/bsdf_phong_ramp.cpp (+14, -34) (Diff)
/intern/cycles/kernel/osl/CMakeLists.txt (+0, -1) (Diff)
/intern/cycles/kernel/osl/emissive.cpp (+5, -18) (Diff)
/intern/cycles/kernel/osl/osl_bssrdf.cpp (+74, -28) (Diff)
/intern/cycles/kernel/osl/osl_closures.cpp (+121, -127) (Diff)
/intern/cycles/kernel/osl/osl_closures.h (+16, -94) (Diff)
/intern/cycles/kernel/osl/osl_shader.cpp (+23, -262) (Diff)
/intern/cycles/kernel/osl/osl_shader.h (+1, -9) (Diff)
/intern/cycles/kernel/svm/svm_closure.h (+193, -297) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+3, -0) (Diff)
/intern/cycles/render/graph.cpp (+3, -0) (Diff)
/intern/cycles/util/util_math.h (+9, -0) (Diff)
/intern/cycles/kernel/closure/bsdf_ashikhmin_shirley.h (+24, -20) (Diff)
/intern/cycles/kernel/closure/bsdf_ashikhmin_velvet.h (+27, -8) (Diff)
/intern/cycles/kernel/closure/bsdf_diffuse.h (+25, -8) (Diff)
/intern/cycles/kernel/closure/bsdf_diffuse_ramp.h (+23, -12) (Diff)
/intern/cycles/kernel/closure/bsdf_hair.h (+47, -24) (Diff)
/intern/cycles/kernel/closure/bsdf_microfacet.h (+98, -60) (Diff)
/intern/cycles/kernel/closure/bsdf_microfacet_multi.h (+57, -50) (Diff)
/intern/cycles/kernel/closure/bsdf_oren_nayar.h (+33, -12) (Diff)
/intern/cycles/kernel/closure/bsdf_phong_ramp.h (+32, -24) (Diff)
/intern/cycles/kernel/closure/bsdf_reflection.h (+4, -3) (Diff)
/intern/cycles/kernel/closure/bsdf_refraction.h (+5, -4) (Diff)
/intern/cycles/kernel/closure/bsdf_toon.h (+50, -28) (Diff)
/intern/cycles/kernel/closure/bssrdf.h (+72, -41) (Diff)
/intern/cycles/kernel/closure/volume.h (+21, -5) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/kernel_shader.h (+25, -30) (Diff)
/intern/cycles/kernel/kernel_subsurface.h (+12, -15) (Diff)
/intern/cycles/kernel/kernel_types.h (+25, -26) (Diff)
/intern/cycles/kernel/osl/background.cpp (+17, -3) (Diff)
/intern/cycles/kernel/osl/bsdf_diffuse_ramp.cpp (+13, -33) (Diff)
/intern/cycles/kernel/osl/bsdf_phong_ramp.cpp (+14, -34) (Diff)
/intern/cycles/kernel/osl/CMakeLists.txt (+0, -1) (Diff)
/intern/cycles/kernel/osl/emissive.cpp (+5, -18) (Diff)
/intern/cycles/kernel/osl/osl_bssrdf.cpp (+74, -28) (Diff)
/intern/cycles/kernel/osl/osl_closures.cpp (+121, -127) (Diff)
/intern/cycles/kernel/osl/osl_closures.h (+16, -94) (Diff)
/intern/cycles/kernel/osl/osl_shader.cpp (+23, -262) (Diff)
/intern/cycles/kernel/osl/osl_shader.h (+1, -9) (Diff)
/intern/cycles/kernel/svm/svm_closure.h (+193, -297) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+3, -0) (Diff)
/intern/cycles/render/graph.cpp (+3, -0) (Diff)
/intern/cycles/util/util_math.h (+9, -0) (Diff)