diff options
author | Lukas Stockner <lukas.stockner@freenet.de> | 2016-12-15 01:47:39 +0300 |
---|---|---|
committer | Lukas Stockner <lukas.stockner@freenet.de> | 2017-03-27 06:36:49 +0300 |
commit | 5aaa643947929cf807c349b2b5fe33d4dc669c3d (patch) | |
tree | 091bf2c52f7a935525004bab2ceabeba989fafe6 /intern/cycles/kernel/kernel_montecarlo.h | |
parent | 086320a62e108b6e640f2b2453b8f1f0a946e57b (diff) |
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
Diffstat (limited to 'intern/cycles/kernel/kernel_montecarlo.h')
0 files changed, 0 insertions, 0 deletions