Files
test/intern
Thomas Dinges e796581655 Cycles: Refactor of constant fold.
* Move constant folding from nodes to the shader graph. This way it's part of our (later) 4-step optimization process.
* Instead of only doing a one level constant fold, we can now do a recursive constant fold, allowing us to simplify shaders much further.
Constant folding is implemented for Blackbody, Math and VectorMath nodes.

Example (the highlighted nodes are removed before rendering):
Before: http://archive.dingto.org/2015/blender/code/one_level_constant_fold.jpg
Now: http://archive.dingto.org/2015/blender/code/multi_level_constant_fold.jpg

Thanks to Sergey and Brecht for Review!
Differential Revision: https://developer.blender.org/D1626
2015-11-25 13:57:54 +01:00
..
2015-11-25 13:57:54 +01:00
2015-10-10 17:35:30 +02:00
2015-03-19 15:41:41 +11:00
2015-07-31 23:44:37 +10:00
2014-07-18 11:55:59 +10:00
2015-10-10 17:35:30 +02:00
2014-03-22 14:41:38 +02:00