Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/kernels/opencl/kernel_background_buffer_update.cl
| Show All 13 Lines | |||||
| * limitations under the License. | * limitations under the License. | ||||
| */ | */ | ||||
| #include "kernel_compat_opencl.h" | #include "kernel_compat_opencl.h" | ||||
| #include "split/kernel_split_common.h" | #include "split/kernel_split_common.h" | ||||
| #include "split/kernel_background_buffer_update.h" | #include "split/kernel_background_buffer_update.h" | ||||
| __kernel void kernel_ocl_path_trace_background_buffer_update( | __kernel void kernel_ocl_path_trace_background_buffer_update( | ||||
| KernelGlobals *kg, | ccl_global char *kg, | ||||
| ccl_constant KernelData *data) | ccl_constant KernelData *data) | ||||
| { | { | ||||
| kernel_background_buffer_update(kg); | ccl_local unsigned int local_queue_atomics; | ||||
| kernel_background_buffer_update((KernelGlobals*)kg, | |||||
| &local_queue_atomics); | |||||
| } | } | ||||