blender/intern/cycles/test
Alexander Gavrilov e54320c488 Cycles: add folding for redundant A to B to A conversions.
As a result of other folding simplifications it may happen that
two type conversion nodes end up directly connected. In some
cases it may be possible to then remove both. A realistic case
might be an optimized out Mix RGB node used to blend vectors.

It seems it's safe to optimize when B is a float3 type
(color, vector), and A is float3 or float.

Reviewers: #cycles, sergey

Reviewed By: #cycles, sergey

Subscribers: sergey

Differential Revision: https://developer.blender.org/D2134
2016-08-02 18:41:15 +03:00
..
CMakeLists.txt Cycles: add unit tests for supported constant folding rules. 2016-08-01 18:53:20 +03:00
render_graph_finalize_test.cpp Cycles: add folding for redundant A to B to A conversions. 2016-08-02 18:41:15 +03:00
util_aligned_malloc_test.cpp Cycles: Add some utility tests using GTests 2016-02-06 19:19:20 +01:00
util_path_test.cpp Cycles: Add some utility tests using GTests 2016-02-06 19:19:20 +01:00
util_string_test.cpp Cycles: Add some utility tests using GTests 2016-02-06 19:19:20 +01:00
util_task_test.cpp Cycles: Minor cleanup, whitespace around keyword and preprocessor indent 2016-04-13 08:58:52 +02:00