Blender Git Loki
Git Commits -> Revision 5aaa643
Revision 5aaa643 by Lukas Stockner (master) March 27, 2017, 03:36 (GMT) |
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 |
Commit Details:
Full Hash: 5aaa643947929cf807c349b2b5fe33d4dc669c3d
Parent Commit: 086320a
Lines Changed: +39, -9