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/path_trace_work_gpu.h')
-rw-r--r--intern/cycles/integrator/path_trace_work_gpu.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/intern/cycles/integrator/path_trace_work_gpu.h b/intern/cycles/integrator/path_trace_work_gpu.h
index e66851cc8d8..dd2c1c197ae 100644
--- a/intern/cycles/integrator/path_trace_work_gpu.h
+++ b/intern/cycles/integrator/path_trace_work_gpu.h
@@ -113,6 +113,12 @@ class PathTraceWorkGPU : public PathTraceWork {
/* Count how many currently scheduled paths can still split. */
int shadow_catcher_count_possible_splits();
+ /* Kernel properties. */
+ bool kernel_uses_sorting(DeviceKernel kernel);
+ bool kernel_creates_shadow_paths(DeviceKernel kernel);
+ bool kernel_is_shadow_path(DeviceKernel kernel);
+ int kernel_max_active_path_index(DeviceKernel kernel);
+
/* Integrator queue. */
unique_ptr<DeviceQueue> queue_;
@@ -131,6 +137,7 @@ class PathTraceWorkGPU : public PathTraceWork {
device_vector<int> integrator_shader_sort_counter_;
device_vector<int> integrator_shader_raytrace_sort_counter_;
/* Path split. */
+ device_vector<int> integrator_next_shadow_path_index_;
device_vector<int> integrator_next_shadow_catcher_path_index_;
/* Temporary buffer to get an array of queued path for a particular kernel. */