Blender Git Commit Log

Git Commits -> Revision 2a69b09

Revision 2a69b09 by Lukas Stockner (master)
June 25, 2016, 22:51 (GMT)
Fix T48732 v2: New GGX breaks OpenCL kernel

As far as I can see, the second issue there was that the functions receive a pointer to a member variable of the
ShaderData, which is stored in global memory. However, this means that the pointer points to global memory as well,
therefore OpenCL requires the ccl_addr_space "keyword" in front of the pointer.
With this commit, the OpenCL kernels build on Linux with the Intel CPU OpenCL runtime - however, they already did
without the change and I don't have an AMD card, so I can't really test whether the AMD runtime is happy as well now.

Commit Details:

Full Hash: 2a69b09b62c2f339f68883c9c7edfc4a6dd1ef8d
Parent Commit: aff81c6
Lines Changed: +11, -11

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2019