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:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-01-29 20:54:18 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-01-29 20:54:46 +0300
commit25aea19323bbbdc4723891fab5e7cee7689c333d (patch)
tree74ced4c3e6ca527063667923e9061fabe9847cdd /intern/cycles/device/device_opencl.cpp
parentb33bcc1955ca9b76835e5f80de5b826a4f0451be (diff)
Cycles: Remove some unused variables from split kernel function
Diffstat (limited to 'intern/cycles/device/device_opencl.cpp')
-rw-r--r--intern/cycles/device/device_opencl.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/intern/cycles/device/device_opencl.cpp b/intern/cycles/device/device_opencl.cpp
index 4eeec4003ff..e612b9f581f 100644
--- a/intern/cycles/device/device_opencl.cpp
+++ b/intern/cycles/device/device_opencl.cpp
@@ -2689,7 +2689,6 @@ public:
}
cl_int dQueue_size = global_size[0] * global_size[1];
- cl_int total_num_rays = global_size[0] * global_size[1];
cl_uint start_arg_index =
kernel_set_args(ckPathTraceKernel_data_init,
@@ -2957,15 +2956,13 @@ public:
0,
kgbuffer,
d_data,
- sd_DL_shadow,
PathState_coop,
LightRay_coop,
AOLightRay_coop,
ray_state,
Queue_data,
Queue_index,
- dQueue_size,
- total_num_rays);
+ dQueue_size);
kernel_set_args(ckPathTraceKernel_next_iteration_setup,
0,