diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-10-30 21:30:48 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-10-30 21:31:24 +0300 |
commit | cb1cb63d40cd5b2878f9def3a481017f72372380 (patch) | |
tree | 590c5303950e81699ed4b782ba16ae2f7cf119ba /intern | |
parent | 16845a5f340dabfe77a826992de646dcf85ff254 (diff) |
Cycles: Fixes for few typos in OpenCL kernel
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/kernel/kernels/opencl/kernel_direct_lighting.cl | 2 | ||||
-rw-r--r-- | intern/cycles/kernel/kernels/opencl/kernel_lamp_emission.cl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/kernel/kernels/opencl/kernel_direct_lighting.cl b/intern/cycles/kernel/kernels/opencl/kernel_direct_lighting.cl index 83e0afdbdeb..d23e87e8fd6 100644 --- a/intern/cycles/kernel/kernels/opencl/kernel_direct_lighting.cl +++ b/intern/cycles/kernel/kernels/opencl/kernel_direct_lighting.cl @@ -61,7 +61,7 @@ __kernel void kernel_ocl_path_trace_direct_lighting( #ifndef __COMPUTE_DEVICE_GPU__ if(ray_index != QUEUE_EMPTY_SLOT) { #endif - enqueue_flag = kernel_direct_lighting((KernelGLobals *)kg, + enqueue_flag = kernel_direct_lighting((KernelGlobals *)kg, data, (ShaderData *)sd, (ShaderData *)sd_DL, diff --git a/intern/cycles/kernel/kernels/opencl/kernel_lamp_emission.cl b/intern/cycles/kernel/kernels/opencl/kernel_lamp_emission.cl index fb327a32247..2f099d86970 100644 --- a/intern/cycles/kernel/kernels/opencl/kernel_lamp_emission.cl +++ b/intern/cycles/kernel/kernels/opencl/kernel_lamp_emission.cl @@ -68,7 +68,7 @@ __kernel void kernel_ocl_path_trace_lamp_emission( } } - kernel_lamp_emission((KenrelGLobals *)kg, + kernel_lamp_emission((KernelGlobals *)kg, data, (ShaderData *)sd, throughput_coop, |