Blender Git Commit Log

Git Commits -> Revision 28d52ef

Revision 28d52ef by Sergey Sharybin (cycles_kernel_split)
May 6, 2015, 12:28 (GMT)
Cycles kernel split: Simplify closure counting

The new way does not require having closure type stored in the most generic
ShaderNode class and uses special_type instead to see if it's BSDF node and
get closure from BsdfNode.

Did not see any difference in the behavior with new implementation in file
with all closures added to the same shader tree via mix nodes.

Commit Details:

Full Hash: 28d52efdcbf1b9771a888595a1a9aa3b81718f96
Parent Commit: 690e1cf
Lines Changed: +43, -1

6 Modified Paths:

/intern/cycles/kernel/svm/svm_types.h (+1, -0) (Diff)
/intern/cycles/render/graph.cpp (+20, -0) (Diff)
/intern/cycles/render/graph.h (+3, -0) (Diff)
/intern/cycles/render/nodes.cpp (+2, -0) (Diff)
/intern/cycles/render/session.cpp (+14, -1) (Diff)
/intern/cycles/render/session.h (+3, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021