Code refactor: zero render buffers outside of kernel.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Wed, 27 Sep 2017 01:53:03 +0000 (03:53 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Wed, 4 Oct 2017 19:11:14 +0000 (21:11 +0200)
commit5bb677e592fd5902600f41653a2d56b4d9ae8c56
tree0b03c1e67ec400df23e7ec45ca7e0cc63c1c5ddd
parent12f453820514e9478afdda0acf4c4fb1eac11e1c
Code refactor: zero render buffers outside of kernel.

This was originally done with the first sample in the kernel for better
performance, but it doesn't work anymore with atomics. Any benefit was
very minor anyway, too small to measure it seems.
intern/cycles/kernel/kernel_passes.h
intern/cycles/kernel/kernel_path.h
intern/cycles/kernel/kernel_path_branched.h
intern/cycles/kernel/split/kernel_buffer_update.h
intern/cycles/kernel/split/kernel_data_init.h
intern/cycles/kernel/split/kernel_path_init.h
intern/cycles/render/buffers.cpp
intern/cycles/render/buffers.h
intern/cycles/render/session.cpp