diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2019-09-13 13:43:57 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2019-09-17 12:24:55 +0300 |
commit | 271c6794d6295e0022a4088cd0bf6b0592b7abf2 (patch) | |
tree | 0353adc33f358d21eea09eeefc13c52f312c714b /intern/cycles/render/film.cpp | |
parent | 11b0c2080cc19d4f0f35be8eb8845f6ce44243cb (diff) |
Cycles: Viewport Rendering Memory Improvement
Small memory reduction change by only storing the pixels of the combined
pass when it is being shown in the viewport. Previously the combined pass
was always calculated and present in the output buffer. The combined pass
will still be calculated.
It is a limitation in Blender that Cycles always had a combined pass.
This patch will remove the limitation from the code base of Cycles.
Blender still has the limitation, but will always request the combined
renderpass when doing final rendering.
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D5784
Diffstat (limited to 'intern/cycles/render/film.cpp')
-rw-r--r-- | intern/cycles/render/film.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/intern/cycles/render/film.cpp b/intern/cycles/render/film.cpp index 5bf7ba97515..7f5bec2a66e 100644 --- a/intern/cycles/render/film.cpp +++ b/intern/cycles/render/film.cpp @@ -293,8 +293,6 @@ NODE_DEFINE(Film) Film::Film() : Node(node_type) { - Pass::add(PASS_COMBINED, passes); - use_light_visibility = false; filter_table_offset = TABLE_OFFSET_INVALID; cryptomatte_passes = CRYPT_NONE; |