Cycles: Make sphere and tube image mapping friendly with OpenCL
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 19 Feb 2015 07:52:48 +0000 (12:52 +0500)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 19 Feb 2015 07:52:48 +0000 (12:52 +0500)
commit3e534833e3a83ceecef35aa6c32764971e3b086e
treea3d56ccf3cc8205aa9b2a129ece3b361817ccd1f
parent5004b582622144317948262793d5a4199ec90f13
Cycles: Make sphere and tube image mapping friendly with OpenCL

OpenCL doesn't let you to get address of vector components, which
is kinda annoying. On the other hand, maybe now compiler will have
more chances to optimize something out.
intern/cycles/blender/blender_mesh.cpp
intern/cycles/kernel/svm/svm_image.h
intern/cycles/util/util_math.h