Cycles: refactor kernel closure storage to use structs per closure type.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Mon, 25 Jul 2016 01:03:23 +0000 (03:03 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Sun, 31 Jul 2016 00:34:43 +0000 (02:34 +0200)
commit9b6ed3a42b9a0fea56808fd5ce0d18cb5231f47b
treeed34a31222ae6d9fbd315f722b0ce327a3d397a9
parent1776f75c3b3621a28ed7af535192ce7f05faea8f
Cycles: refactor kernel closure storage to use structs per closure type.

Reviewed By: dingto, sergey

Differential Revision: https://developer.blender.org/D2127
36 files changed:
intern/cycles/kernel/CMakeLists.txt
intern/cycles/kernel/closure/alloc.h [new file with mode: 0644]
intern/cycles/kernel/closure/bsdf.h
intern/cycles/kernel/closure/bsdf_ashikhmin_shirley.h
intern/cycles/kernel/closure/bsdf_ashikhmin_velvet.h
intern/cycles/kernel/closure/bsdf_diffuse.h
intern/cycles/kernel/closure/bsdf_diffuse_ramp.h
intern/cycles/kernel/closure/bsdf_hair.h
intern/cycles/kernel/closure/bsdf_microfacet.h
intern/cycles/kernel/closure/bsdf_microfacet_multi.h
intern/cycles/kernel/closure/bsdf_oren_nayar.h
intern/cycles/kernel/closure/bsdf_phong_ramp.h
intern/cycles/kernel/closure/bsdf_reflection.h
intern/cycles/kernel/closure/bsdf_refraction.h
intern/cycles/kernel/closure/bsdf_toon.h
intern/cycles/kernel/closure/bssrdf.h
intern/cycles/kernel/closure/volume.h
intern/cycles/kernel/kernel_shader.h
intern/cycles/kernel/kernel_subsurface.h
intern/cycles/kernel/kernel_types.h
intern/cycles/kernel/osl/CMakeLists.txt
intern/cycles/kernel/osl/background.cpp
intern/cycles/kernel/osl/bsdf_diffuse_ramp.cpp
intern/cycles/kernel/osl/bsdf_phong_ramp.cpp
intern/cycles/kernel/osl/emissive.cpp
intern/cycles/kernel/osl/osl_bssrdf.cpp
intern/cycles/kernel/osl/osl_bssrdf.h [deleted file]
intern/cycles/kernel/osl/osl_closures.cpp
intern/cycles/kernel/osl/osl_closures.h
intern/cycles/kernel/osl/osl_shader.cpp
intern/cycles/kernel/osl/osl_shader.h
intern/cycles/kernel/svm/svm_closure.h
intern/cycles/kernel/svm/svm_types.h
intern/cycles/render/graph.cpp
intern/cycles/util/util_math.h
release/scripts/addons