blender/intern
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
..
atomic Cleanup: Use explicit unsigned int in atomics 2017-03-01 12:01:19 +01:00
audaspace Fix T50843: Pitched Audio renders incorrectly in VSE 2017-03-05 12:19:32 +01:00
container Remove SCons building system 2016-01-04 14:20:48 +05:00
cycles Cycles: Optimize shaders earlier to skip unneccessary attributes for noninteractive rendering 2017-03-27 05:36:49 +02:00
decklink Cleanup: code style & cmake 2017-03-12 02:47:53 +11:00
dualcon Remove SCons building system 2016-01-04 14:20:48 +05:00
eigen Remove SCons building system 2016-01-04 14:20:48 +05:00
elbeem Fix fluid sim build error with MSVC. 2016-10-03 22:15:24 +02:00
ffmpeg FFmpeg: Update for the deprecated API in 3.2.x 2017-03-06 10:34:57 +01:00
ghost Fix GHOST crash on X11 with recent DPI changes on some systems. 2017-03-25 19:32:50 +01:00
glew-mx Remove SCons building system 2016-01-04 14:20:48 +05:00
gpudirect Cleanup: comment blocks 2016-07-02 10:08:33 +10:00
guardedalloc Atomics: Make naming more obvious about which value is being returned 2016-11-15 12:16:26 +01:00
iksolver FIX T49899: Add EIGEN_MAKE_ALIGNED_OPERATOR_NEW to classes that use eigen's data types , to force aligned on 16 byte boundaries. 2016-11-15 13:21:01 -07:00
itasc Cleanup: Reduce amount of misleading indentation 2016-09-01 12:14:16 +02:00
libmv Fix a few compiler warnings with macOS / clang. 2017-02-18 23:59:34 +01:00
locale Remove SCons building system 2016-01-04 14:20:48 +05:00
memutil Remove SCons building system 2016-01-04 14:20:48 +05:00
mikktspace Fix T49523: very slow normal map tangent computation for rendering in 2.78. 2016-10-06 03:12:04 +02:00
moto BGE: Various render improvements. 2016-06-11 22:05:20 +02:00
opencolorio OCIO: Implement exposure/gamma for fallback implementation 2016-12-02 16:57:00 +01:00
opensubdiv OpensSubdiv: Cleanup, unused argument 2016-12-20 12:29:41 +01:00
openvdb Fix T48236: OpenVDB smoke cache glitches out with smokeless flames. 2016-04-22 11:46:02 +02:00
rigidbody Remove SCons building system 2016-01-04 14:20:48 +05:00
smoke Cleanup: Strict CLang warning in Smoke module 2017-01-09 13:12:43 +01:00
string Fix STR_String Capitalize on non Win32 2016-12-15 12:58:19 +11:00
utfconv C++ conformance fixes (MSVC /permissive-) 2017-02-06 10:44:56 +01:00
CMakeLists.txt Cleanup: code style & cmake 2017-03-12 02:47:53 +11:00