Blender Git Commit Log

Git Commits -> Revision ea2ebf7

Revision ea2ebf7 by Alexander Gavrilov (master)
July 31, 2016, 00:18 (GMT)
Cycles: constant folding for RGB/Vector Curves and Color Ramp.

These are complex nodes, and it's conceivable they may end up constant
in some circumstances within node groups, so folding support is useful.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D2084

Commit Details:

Full Hash: ea2ebf7a00f9adef9c14aaa24b79532b44043eba
Parent Commit: f4bcc97
Committed By: Brecht Van Lommel
Lines Changed: +279, -135

2 Added Paths:

/intern/cycles/kernel/shaders/node_ramp_util.h (+89, -0) (View)
/intern/cycles/kernel/svm/svm_ramp_util.h (+97, -0) (View)

9 Modified Paths:

/intern/cycles/kernel/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/shaders/node_rgb_curves.osl (+8, -40) (Diff)
/intern/cycles/kernel/shaders/node_rgb_ramp.osl (+3, -18) (Diff)
/intern/cycles/kernel/shaders/node_vector_curves.osl (+8, -40) (Diff)
/intern/cycles/kernel/svm/svm.h (+1, -3) (Diff)
/intern/cycles/kernel/svm/svm_ramp.h (+3, -30) (Diff)
/intern/cycles/render/constant_fold.h (+1, -0) (Diff)
/intern/cycles/render/nodes.cpp (+60, -0) (Diff)
/intern/cycles/render/nodes.h (+8, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021