diff options
author | Mai Lavelle <mai.lavelle@gmail.com> | 2017-01-20 11:05:32 +0300 |
---|---|---|
committer | Mai Lavelle <mai.lavelle@gmail.com> | 2017-03-08 08:52:41 +0300 |
commit | bc652766e8a4941110d9102b14889fdd09154db9 (patch) | |
tree | 16986176bcfd35decf7a3374cf16a125d2a1acf3 /intern/cycles/render | |
parent | 0f56f7a8118f017fa8a42a4bbfdfb77c9dd55d68 (diff) |
Cycles: Expose passes size to device tasks
This is needed so devices can know the size of a tile buffer before any
tiles are acquired.
Diffstat (limited to 'intern/cycles/render')
-rw-r--r-- | intern/cycles/render/session.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/render/session.cpp b/intern/cycles/render/session.cpp index 420866c9436..55744753128 100644 --- a/intern/cycles/render/session.cpp +++ b/intern/cycles/render/session.cpp @@ -887,6 +887,7 @@ void Session::path_trace() task.need_finish_queue = params.progressive_refine; task.integrator_branched = scene->integrator->method == Integrator::BRANCHED_PATH; task.requested_tile_size = params.tile_size; + task.passes_size = tile_manager.params.get_passes_size(); device->task_add(task); } |