Line 0
Link Here
|
|
|
1 |
--- intern/cycles/device/device_cpu.cpp.orig 2021-01-21 07:59:12 UTC |
2 |
+++ intern/cycles/device/device_cpu.cpp |
3 |
@@ -927,7 +927,7 @@ class CPUDevice : public Device { |
4 |
SIMD_SET_FLUSH_TO_ZERO; |
5 |
|
6 |
for (int sample = start_sample; sample < end_sample; sample++) { |
7 |
- if (task.get_cancel() || task_pool.canceled()) { |
8 |
+ if (task.get_cancel() || TaskPool::canceled()) { |
9 |
if (task.need_finish_queue == false) |
10 |
break; |
11 |
} |
12 |
@@ -1220,7 +1220,7 @@ class CPUDevice : public Device { |
13 |
|
14 |
void thread_render(DeviceTask &task) |
15 |
{ |
16 |
- if (task_pool.canceled()) { |
17 |
+ if (TaskPool::canceled()) { |
18 |
if (task.need_finish_queue == false) |
19 |
return; |
20 |
} |
21 |
@@ -1290,7 +1290,7 @@ class CPUDevice : public Device { |
22 |
|
23 |
task.release_tile(tile); |
24 |
|
25 |
- if (task_pool.canceled()) { |
26 |
+ if (TaskPool::canceled()) { |
27 |
if (task.need_finish_queue == false) |
28 |
break; |
29 |
} |
30 |
@@ -1387,7 +1387,7 @@ class CPUDevice : public Device { |
31 |
task.offset, |
32 |
sample); |
33 |
|
34 |
- if (task.get_cancel() || task_pool.canceled()) |
35 |
+ if (task.get_cancel() || TaskPool::canceled()) |
36 |
break; |
37 |
|
38 |
task.update_progress(NULL); |