Code refactor: add WorkTile struct for passing work to kernel.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Tue, 26 Sep 2017 21:42:36 +0000 (23:42 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Wed, 4 Oct 2017 19:11:14 +0000 (21:11 +0200)
commit5b7d6ea54b2fc35b8b12c667f5bf9a1c9c46d5c2
tree99a9ca07d5366b164dfdf267ad1ed3691d2d7d57
parent660e8e59e7b4265324a8fba7ae716f84a73c6c64
Code refactor: add WorkTile struct for passing work to kernel.

This makes sharing some code between mega/split in following commits a bit
easier, and also paves the way for rendering multiple tiles later.
intern/cycles/device/device_cuda.cpp
intern/cycles/device/device_memory.h
intern/cycles/kernel/kernel_types.h
intern/cycles/kernel/kernel_work_stealing.h
intern/cycles/kernel/kernels/cuda/kernel.cu
intern/cycles/kernel/kernels/opencl/kernel_split_function.h
intern/cycles/kernel/split/kernel_buffer_update.h
intern/cycles/kernel/split/kernel_data_init.h
intern/cycles/kernel/split/kernel_holdout_emission_blurring_pathtermination_ao.h
intern/cycles/kernel/split/kernel_path_init.h
intern/cycles/kernel/split/kernel_split_data_types.h