blender/intern/cycles
Lukas Stockner 5aaa643947 Cycles: Optimize shaders earlier to skip unneccessary attributes for noninteractive rendering
Before, Cycles would first sync the shader exactly as shown in the UI, then determine and sync the used attributes and later optimize the shader.
Therefore, even completely unconnected nodes would cause unneccessary attributes to be synced.

The reason for this is to avoid frequent resyncs when editing shaders interactively, but it can still be avoided for noninteractive renders - which is what this commit does.

Reviewed by: sergey

Differential Revision: https://developer.blender.org/D2285
2017-03-27 05:36:49 +02:00
..
app Cycles: Cleanup, style 2017-01-13 15:24:56 +01:00
blender Cycles: Optimize shaders earlier to skip unneccessary attributes for noninteractive rendering 2017-03-27 05:36:49 +02:00
bvh Fix build error with macOS / clang / c++11. 2017-02-25 03:12:53 +01:00
cmake Fix compilation error when CUDA toolkit is not installed 2016-11-07 14:47:10 +01:00
device Cycles: Fix building for some compilers 2017-03-23 00:14:48 -04:00
doc Cycles: relicense GNU GPL source code to Apache version 2.0. 2013-08-18 14:16:15 +00:00
graph Cycles: Don't use guarded vector for statically initialized data 2016-10-24 14:18:22 +02:00
kernel Cycles: Correct isfinite check used in integrator 2017-03-24 15:39:33 +01:00
render Cycles: Optimize shaders earlier to skip unneccessary attributes for noninteractive rendering 2017-03-27 05:36:49 +02:00
subd Cycles: Cleanup, style 2016-10-24 12:26:12 +02:00
test Cycles: Cleanup, order of arguments to EXPECT_EQ 2017-02-03 11:35:34 +01:00
util Cycles: Correct isfinite check used in integrator 2017-03-24 15:39:33 +01:00
CMakeLists.txt Cycles: Use fast math without finite optimization 2017-02-13 16:25:35 +01:00