Blender Git Loki

Git Commits -> Revision 19adfd3

Revision 19adfd3 by Sergey Sharybin (master)
January 19, 2016, 21:53 (GMT)
Cycles: Fix OpenCL kernel compilation after the bake commit

There is no function pointers in OpenCL specification. For as long
as we want to support this platform we should follow the specifications.

While the code is not totally optimal now, it should not be that huge
of performance issue on CPU since it does jump tables just nicely, so
it's not that much extra computation here.

Commit Details:

Full Hash: 19adfd3176966cbe72f55f68bf28b04e41e96e09
Parent Commit: 52e34ff
Lines Changed: +60, -10

2 Modified Paths:

/intern/cycles/device/device_opencl.cpp (+2, -1) (Diff)
/intern/cycles/kernel/kernel_bake.h (+58, -9) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021