Blender Git Commit Log

Git Commits -> Revision 86f3d22

Revision 86f3d22 by Mai Lavelle (cycles_split_kernel)
October 17, 2016, 12:23 (GMT)
Cycles: Refactor so all split kernels have same signature

This is to set things up for supporting the split kernel on cpu and other
devices. By having the same signature for each kernel we can deduplicate
a lot of code without needing any trickery. The only kernel that doesn't
share this signature is the `data_init` kernel, which might end up being
different for each device type.

Commit Details:

Full Hash: 86f3d223fd4356af549057a70cd90674c6b69a75
Parent Commit: 504b201
Lines Changed: +193, -252

15 Modified Paths:

/intern/cycles/device/opencl/opencl_split.cpp (+20, -122) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_background_buffer_update.cl (+19, -29) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_data_init.cl (+16, -4) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_direct_lighting.cl (+4, -6) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_holdout_emission_blurring_pathtermination_ao.cl (+9, -16) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_lamp_emission.cl (+8, -15) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_next_iteration_setup.cl (+8, -12) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_queue_enqueue.cl (+4, -6) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_scene_intersect.cl (+7, -13) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_shader_eval.cl (+4, -6) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_shadow_blocked.cl (+7, -7) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_sum_all_radiance.cl (+8, -14) (Diff)
/intern/cycles/kernel/kernel_globals.h (+1, -0) (Diff)
/intern/cycles/kernel/split/kernel_data_init.h (+41, -2) (Diff)
/intern/cycles/kernel/split/kernel_split_data.h (+37, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021