From b3299bace003d9d061b188760a263ca7b42c36d7 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Sat, 9 May 2015 19:09:07 +0500 Subject: Cycles: Pass requested tile size to the device via device task This is currently unused but crucial for things like calculating amount of device memory required to deal with the tasks. Maybe not really best place to store it, but consider it good enough for now. --- intern/cycles/device/device_task.h | 1 + 1 file changed, 1 insertion(+) (limited to 'intern/cycles/device/device_task.h') diff --git a/intern/cycles/device/device_task.h b/intern/cycles/device/device_task.h index 0c23d8971e0..834ea60988a 100644 --- a/intern/cycles/device/device_task.h +++ b/intern/cycles/device/device_task.h @@ -65,6 +65,7 @@ public: bool need_finish_queue; bool integrator_branched; + int2 requested_tile_size; protected: double last_update_time; }; -- cgit v1.2.3