[Bf-blender-cvs] [33dbb98] cycles_kernel_split: Refactor : Add/Remove comments/spaces
varunsundar08
noreply at git.blender.org
Thu Apr 30 23:25:18 CEST 2015
Commit: 33dbb98d420192afb1bf7e315f8088a356778cd0
Author: varunsundar08
Date: Tue Apr 28 20:56:09 2015 +0530
Branches: cycles_kernel_split
https://developer.blender.org/rB33dbb98d420192afb1bf7e315f8088a356778cd0
Refactor : Add/Remove comments/spaces
===================================================================
M intern/cycles/device/device.h
M intern/cycles/device/device_opencl.cpp
===================================================================
diff --git a/intern/cycles/device/device.h b/intern/cycles/device/device.h
index eca713c..76343c8 100644
--- a/intern/cycles/device/device.h
+++ b/intern/cycles/device/device.h
@@ -97,15 +97,13 @@ public:
/* statistics */
Stats &stats;
+ /* variables/functions used exclusively for split kernel */
/* Maximum closure count */
int clos_max;
-
/* Denotes if the device is going to run cycles using split-kernel */
bool use_split_kernel;
-
/* Get all closure nodes associated with the scene */
set<int> closure_nodes;
-
/* Return background */
bool get_background() { return background; }
diff --git a/intern/cycles/device/device_opencl.cpp b/intern/cycles/device/device_opencl.cpp
index 190c1b1..28317de 100644
--- a/intern/cycles/device/device_opencl.cpp
+++ b/intern/cycles/device/device_opencl.cpp
@@ -3207,7 +3207,6 @@ public:
opencl_assert(clSetKernelArg(ckPathTraceKernel_DataInit_SPLIT_KERNEL, narg++, sizeof(N_sd), (void*)&N_sd));
opencl_assert(clSetKernelArg(ckPathTraceKernel_DataInit_SPLIT_KERNEL, narg++, sizeof(N_sd_DL_shadow), (void*)&N_sd_DL_shadow));
-
opencl_assert(clSetKernelArg(ckPathTraceKernel_DataInit_SPLIT_KERNEL, narg++, sizeof(Ng_sd), (void*)&Ng_sd));
opencl_assert(clSetKernelArg(ckPathTraceKernel_DataInit_SPLIT_KERNEL, narg++, sizeof(Ng_sd_DL_shadow), (void*)&Ng_sd_DL_shadow));
More information about the Bf-blender-cvs
mailing list