diff options
Diffstat (limited to 'intern/cycles/kernel/kernels/opencl/kernel_direct_lighting.cl')
-rw-r--r-- | intern/cycles/kernel/kernels/opencl/kernel_direct_lighting.cl | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/intern/cycles/kernel/kernels/opencl/kernel_direct_lighting.cl b/intern/cycles/kernel/kernels/opencl/kernel_direct_lighting.cl index 6ec75013b3a..c6a2c8d050c 100644 --- a/intern/cycles/kernel/kernels/opencl/kernel_direct_lighting.cl +++ b/intern/cycles/kernel/kernels/opencl/kernel_direct_lighting.cl @@ -17,10 +17,9 @@ #include "split/kernel_direct_lighting.h" __kernel void kernel_ocl_path_trace_direct_lighting( - ccl_global char *globals, + ccl_global char *kg, ccl_constant KernelData *data, - ccl_global char *shader_data, /* Required for direct lighting */ - ccl_global char *shader_DL, /* Required for direct lighting */ + ccl_global char *sd, /* 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 */ @@ -61,10 +60,8 @@ __kernel void kernel_ocl_path_trace_direct_lighting( #ifndef __COMPUTE_DEVICE_GPU__ if(ray_index != QUEUE_EMPTY_SLOT) { #endif - enqueue_flag = kernel_direct_lighting(globals, - data, - shader_data, - shader_DL, + enqueue_flag = kernel_direct_lighting((KernelGlobals *)kg, + (ShaderData *)sd, rng_coop, PathState_coop, ISLamp_coop, |