Cycles: Remove few function arguments needed only for the split kernel
[blender.git] / intern / cycles / kernel / kernels / opencl / kernel_data_init.cl
index b8138676acd37625038de86b30f8648a8ab7e5a4..401c4467afa7338541fca42674aed01d8044feee 100644 (file)
@@ -111,6 +111,7 @@ __kernel void kernel_ocl_path_trace_data_init(
         PathRadiance *PathRadiance_coop,             /* PathRadiance array to store PathRadiance values for all rays */
         ccl_global Ray *Ray_coop,                    /* Ray array to store Ray information for all rays */
         ccl_global PathState *PathState_coop,        /* PathState array to store PathState information for all rays */
+        Intersection *Intersection_coop_shadow,
         ccl_global char *ray_state,                  /* Stores information on current state of a ray */
 
 #define KERNEL_TEX(type, ttype, name)                                   \
@@ -206,6 +207,7 @@ __kernel void kernel_ocl_path_trace_data_init(
                         PathRadiance_coop,
                         Ray_coop,
                         PathState_coop,
+                        Intersection_coop_shadow,
                         ray_state,
 
 #define KERNEL_TEX(type, ttype, name) name,