Cycles: avoid using float3 in kernel constant memory, just so we're sure alignment
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 20 Dec 2011 12:25:45 +0000 (12:25 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 20 Dec 2011 12:25:45 +0000 (12:25 +0000)
commit40259cfe7bf8ab3fa844d87b61096562c9ea2e42
treea241f884d68b517706dac392ca861bd1a9c3f282
parent72d2d05770a721986986c137a5cbc36cb796062f
Cycles: avoid using float3 in kernel constant memory, just so we're sure alignment
is working compatible between cpu and gpu.
intern/cycles/kernel/kernel_camera.h
intern/cycles/kernel/kernel_types.h
intern/cycles/render/camera.cpp
intern/cycles/render/nodes.cpp
intern/cycles/util/util_math.h