Blender Git Commit Log

Git Commits -> Revision 1ff753b

Revision 1ff753b by Sergey Sharybin (master)
March 16, 2017, 10:27 (GMT)
Cycles: Workaround for compilation error caused by passing KernelGlobals

Pass globals as a bare pointer, same as it sued to be prior to split kernel rework.

AMD CPU platform and Intel OpenCL were complaining about this.

Perhaps we shouldn't pass globals as pointer at all, this isn't something what is
really portable and can cause issues on 32 bit perhaps.

Commit Details:

Full Hash: 1ff753baa4bbf9aeb2c65e0d697840545bfbea24
Parent Commit: 26620f3
Lines Changed: +35, -35

17 Modified Paths:

/intern/cycles/kernel/kernels/opencl/kernel_buffer_update.cl (+2, -2) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_data_init.cl (+2, -2) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_direct_lighting.cl (+2, -2) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_do_volume.cl (+2, -2) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_holdout_emission_blurring_pathtermination_ao.cl (+2, -2) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_indirect_background.cl (+2, -2) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_indirect_subsurface.cl (+2, -2) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_lamp_emission.cl (+2, -2) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_next_iteration_setup.cl (+2, -2) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_path_init.cl (+2, -2) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_queue_enqueue.cl (+2, -2) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_scene_intersect.cl (+2, -2) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_shader_eval.cl (+2, -2) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_shadow_blocked_ao.cl (+2, -2) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_shadow_blocked_dl.cl (+2, -2) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_state_buffer_size.cl (+3, -3) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_subsurface_scatter.cl (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021