diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2016-07-30 21:03:49 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-07-31 03:34:34 +0300 |
commit | 1776f75c3b3621a28ed7af535192ce7f05faea8f (patch) | |
tree | 65df1e88a03007dd12444f73308292fd66eb9f06 /intern/cycles/kernel/closure/bsdf_oren_nayar.h | |
parent | ea2ebf7a00f9adef9c14aaa24b79532b44043eba (diff) |
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
Diffstat (limited to 'intern/cycles/kernel/closure/bsdf_oren_nayar.h')
0 files changed, 0 insertions, 0 deletions