Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/cycles/integrator')
-rw-r--r--intern/cycles/integrator/path_trace_work_cpu.cpp4
-rw-r--r--intern/cycles/integrator/path_trace_work_cpu.h4
-rw-r--r--intern/cycles/integrator/shader_eval.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/intern/cycles/integrator/path_trace_work_cpu.cpp b/intern/cycles/integrator/path_trace_work_cpu.cpp
index 18a5365453d..1cadcd9ec5c 100644
--- a/intern/cycles/integrator/path_trace_work_cpu.cpp
+++ b/intern/cycles/integrator/path_trace_work_cpu.cpp
@@ -114,7 +114,7 @@ void PathTraceWorkCPU::render_samples(RenderStatistics &statistics,
statistics.occupancy = 1.0f;
}
-void PathTraceWorkCPU::render_samples_full_pipeline(KernelGlobals *kernel_globals,
+void PathTraceWorkCPU::render_samples_full_pipeline(KernelGlobalsCPU *kernel_globals,
const KernelWorkTile &work_tile,
const int samples_num)
{
@@ -127,7 +127,7 @@ void PathTraceWorkCPU::render_samples_full_pipeline(KernelGlobals *kernel_global
if (device_scene_->data.integrator.has_shadow_catcher) {
shadow_catcher_state = &integrator_states[1];
- path_state_init_queues(kernel_globals, shadow_catcher_state);
+ path_state_init_queues(shadow_catcher_state);
}
KernelWorkTile sample_work_tile = work_tile;
diff --git a/intern/cycles/integrator/path_trace_work_cpu.h b/intern/cycles/integrator/path_trace_work_cpu.h
index d011e8d05bd..91c024f4e4a 100644
--- a/intern/cycles/integrator/path_trace_work_cpu.h
+++ b/intern/cycles/integrator/path_trace_work_cpu.h
@@ -28,7 +28,7 @@
CCL_NAMESPACE_BEGIN
struct KernelWorkTile;
-struct KernelGlobals;
+struct KernelGlobalsCPU;
class CPUKernels;
@@ -64,7 +64,7 @@ class PathTraceWorkCPU : public PathTraceWork {
protected:
/* Core path tracing routine. Renders given work time on the given queue. */
- void render_samples_full_pipeline(KernelGlobals *kernel_globals,
+ void render_samples_full_pipeline(KernelGlobalsCPU *kernel_globals,
const KernelWorkTile &work_tile,
const int samples_num);
diff --git a/intern/cycles/integrator/shader_eval.cpp b/intern/cycles/integrator/shader_eval.cpp
index 53546c03872..cfc30056f7d 100644
--- a/intern/cycles/integrator/shader_eval.cpp
+++ b/intern/cycles/integrator/shader_eval.cpp
@@ -113,7 +113,7 @@ bool ShaderEval::eval_cpu(Device *device,
}
const int thread_index = tbb::this_task_arena::current_thread_index();
- KernelGlobals *kg = &kernel_thread_globals[thread_index];
+ const KernelGlobalsCPU *kg = &kernel_thread_globals[thread_index];
switch (type) {
case SHADER_EVAL_DISPLACE: