Cycles: Fixes for few typos in OpenCL kernel

This commit is contained in:
Sergey Sharybin 2015-10-30 23:30:48 +05:00
parent 16845a5f34
commit cb1cb63d40
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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,