diff options
Diffstat (limited to 'intern/cycles/device/device_task.cpp')
-rw-r--r-- | intern/cycles/device/device_task.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/device/device_task.cpp b/intern/cycles/device/device_task.cpp index 8f15e8c8c1e..36522b874ab 100644 --- a/intern/cycles/device/device_task.cpp +++ b/intern/cycles/device/device_task.cpp @@ -68,7 +68,7 @@ int DeviceTask::get_subtask_count(int num, int max_size) if (type == SHADER) { num = min(shader_w, num); } - else if (type == RENDER || type == DENOISE) { + else if (type == RENDER) { } else { num = min(h, num); @@ -94,7 +94,7 @@ void DeviceTask::split(list<DeviceTask> &tasks, int num, int max_size) tasks.push_back(task); } } - else if (type == RENDER || type == DENOISE) { + else if (type == RENDER) { for (int i = 0; i < num; i++) tasks.push_back(*this); } |