Blender Git Loki
Git Commits -> Revision c5ed676
Revision c5ed676 by Thomas Dinges (master) June 2, 2013, 20:39 (GMT) |
Cycles / Math functions: * Rename some math functions: len -> length len_squared -> length_squared normalize_len -> normalize_length * This way OpenCL uses its inbuilt length() function, rather than our own. The other two functions have been renamed for consistency. * Tested CPU, CUDA and OpenCL compile, should be no functional changes. |
Commit Details:
Full Hash: c5ed6765b9c46630579be5e43cab74965f0be9da
SVN Revision: 57203
Parent Commit: 8344924
Lines Changed: +74, -75
22 Modified Paths:
/intern/cycles/blender/blender_curves.cpp (+7, -7) (Diff)
/intern/cycles/blender/blender_mesh.cpp (+2, -2) (Diff)
/intern/cycles/bvh/bvh.cpp (+1, -1) (Diff)
/intern/cycles/kernel/kernel_bvh.h (+16, -16) (Diff)
/intern/cycles/kernel/kernel_camera.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_curve.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_emission.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_light.h (+4, -4) (Diff)
/intern/cycles/kernel/kernel_path.h (+3, -3) (Diff)
/intern/cycles/kernel/kernel_subsurface.h (+1, -1) (Diff)
/intern/cycles/kernel/svm/svm_camera.h (+1, -1) (Diff)
/intern/cycles/kernel/svm/svm_math.h (+3, -3) (Diff)
/intern/cycles/kernel/svm/svm_texture.h (+1, -1) (Diff)
/intern/cycles/kernel/svm/svm_wave.h (+1, -1) (Diff)
/intern/cycles/kernel/svm/svm_wireframe.h (+2, -2) (Diff)
/intern/cycles/render/light.cpp (+2, -2) (Diff)
/intern/cycles/render/mesh.cpp (+1, -1) (Diff)
/intern/cycles/render/object.cpp (+2, -2) (Diff)
/intern/cycles/subd/subd_dice.cpp (+2, -2) (Diff)
/intern/cycles/subd/subd_split.cpp (+1, -1) (Diff)
/intern/cycles/util/util_math.h (+15, -16) (Diff)
/intern/cycles/util/util_transform.h (+6, -6) (Diff)
/intern/cycles/blender/blender_mesh.cpp (+2, -2) (Diff)
/intern/cycles/bvh/bvh.cpp (+1, -1) (Diff)
/intern/cycles/kernel/kernel_bvh.h (+16, -16) (Diff)
/intern/cycles/kernel/kernel_camera.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_curve.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_emission.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_light.h (+4, -4) (Diff)
/intern/cycles/kernel/kernel_path.h (+3, -3) (Diff)
/intern/cycles/kernel/kernel_subsurface.h (+1, -1) (Diff)
/intern/cycles/kernel/svm/svm_camera.h (+1, -1) (Diff)
/intern/cycles/kernel/svm/svm_math.h (+3, -3) (Diff)
/intern/cycles/kernel/svm/svm_texture.h (+1, -1) (Diff)
/intern/cycles/kernel/svm/svm_wave.h (+1, -1) (Diff)
/intern/cycles/kernel/svm/svm_wireframe.h (+2, -2) (Diff)
/intern/cycles/render/light.cpp (+2, -2) (Diff)
/intern/cycles/render/mesh.cpp (+1, -1) (Diff)
/intern/cycles/render/object.cpp (+2, -2) (Diff)
/intern/cycles/subd/subd_dice.cpp (+2, -2) (Diff)
/intern/cycles/subd/subd_split.cpp (+1, -1) (Diff)
/intern/cycles/util/util_math.h (+15, -16) (Diff)
/intern/cycles/util/util_transform.h (+6, -6) (Diff)