Blender Git Commit Log

Git Commits -> Revision e2161ca

Revision e2161ca by Sergey Sharybin (master)
January 28, 2016, 17:59 (GMT)
Cycles: Remove few function arguments needed only for the split kernel

Use KernelGlobals to access all the global arrays for the intermediate
storage instead of passing all this storage things explicitly.

Tested here with Intel OpenCL, NVIDIA GTX580 and AMD Fiji, didn't see
any artifacts, so guess it's all good.

Reviewers: juicyfruit, dingto, lukasstockner97

Differential Revision: https://developer.blender.org/D1736

Commit Details:

Full Hash: e2161ca854da03bae8c17c7cfac6dbcd9d62f33b
Parent Commit: 53ef03d
Lines Changed: +62, -87

14 Modified Paths:

/intern/cycles/device/device_opencl.cpp (+7, -13) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_background_buffer_update.cl (+0, -2) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_data_init.cl (+2, -0) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_direct_lighting.cl (+0, -2) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_lamp_emission.cl (+0, -2) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_shadow_blocked.cl (+0, -4) (Diff)
/intern/cycles/kernel/kernel_emission.h (+38, -35) (Diff)
/intern/cycles/kernel/kernel_globals.h (+5, -0) (Diff)
/intern/cycles/kernel/kernel_shadow.h (+3, -7) (Diff)
/intern/cycles/kernel/split/kernel_background_buffer_update.h (+1, -2) (Diff)
/intern/cycles/kernel/split/kernel_data_init.h (+3, -0) (Diff)
/intern/cycles/kernel/split/kernel_direct_lighting.h (+1, -5) (Diff)
/intern/cycles/kernel/split/kernel_lamp_emission.h (+1, -4) (Diff)
/intern/cycles/kernel/split/kernel_shadow_blocked.h (+1, -11) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021