Cycles: Only calculate global size of split kernel once to avoid changes
authorMai Lavelle <mai.lavelle@gmail.com>
Tue, 11 Apr 2017 07:02:43 +0000 (03:02 -0400)
committerMai Lavelle <mai.lavelle@gmail.com>
Tue, 11 Apr 2017 07:26:18 +0000 (03:26 -0400)
commitd097c72f81a7a61ac5b96ca691114ac2765823d0
tree20858370091642b48743bfd198b340b4a0e3c71b
parent1e6038a426b992bf991040eac18ae7d83ae6a8bb
Cycles: Only calculate global size of split kernel once to avoid changes

Global size depends on memory usage which might change during rendering.
Havent seen it happen but seems possible that this could cause the global
size to be different than what was used for allocating buffers.
intern/cycles/device/device_split_kernel.cpp
intern/cycles/device/device_split_kernel.h