Cycles: Remove few function arguments needed only for the split kernel
[blender.git] / intern / cycles / kernel / kernels / opencl / kernel_direct_lighting.cl
index d4a7cffb4035e0806c43bdf4a3365b33bb9fbeae..c6a2c8d050c390b7a43b5ddd528f40e5dbc99ac5 100644 (file)
@@ -20,7 +20,6 @@ __kernel void kernel_ocl_path_trace_direct_lighting(
         ccl_global char *kg,
         ccl_constant KernelData *data,
         ccl_global char *sd,                    /* Required for direct lighting */
-        ccl_global char *sd_DL,                 /* Required for direct lighting */
         ccl_global uint *rng_coop,              /* Required for direct lighting */
         ccl_global PathState *PathState_coop,   /* Required for direct lighting */
         ccl_global int *ISLamp_coop,            /* Required for direct lighting */
@@ -63,7 +62,6 @@ __kernel void kernel_ocl_path_trace_direct_lighting(
 #endif
                enqueue_flag = kernel_direct_lighting((KernelGlobals *)kg,
                                                      (ShaderData *)sd,
-                                                     (ShaderData *)sd_DL,
                                                      rng_coop,
                                                      PathState_coop,
                                                      ISLamp_coop,