Alexander Gavrilov 1776f75c3b Cycles: constant fold add/mul type nodes with known 0 and 1 arguments.
These values often either turn the node into a no-op, or even make it
evaluate to 0 no matter what the other input value is, thus allowing
deletion of a branch of the node graph that otherwise is not constant.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D2085
2016-07-31 02:34:34 +02:00
2016-07-30 18:17:11 +10:00
2016-07-30 18:41:07 +10:00
2016-07-30 10:35:30 +02:00
2016-07-15 01:28:00 +10:00
2016-07-15 01:26:26 +10:00
2016-02-10 00:26:12 +11:00
Description
No description provided
926 MiB
Languages
C++ 78.1%
Python 15%
C 2.8%
GLSL 1.8%
CMake 1.2%
Other 0.9%