diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-05-20 16:26:01 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-05-20 16:26:01 +0400 |
commit | 63d4bafff57392ffd81d686a7ccdd4fbdf863c97 (patch) | |
tree | 9210c3c675d79bdbe80747f98e544dd2e0251a73 /intern/cycles/kernel/svm/svm_texture.h | |
parent | 2e66cb520c5e41b83665119a9787e9839ce7c2b3 (diff) |
Cycles: some steps to getting OpenCL backend to compile.
Diffstat (limited to 'intern/cycles/kernel/svm/svm_texture.h')
-rw-r--r-- | intern/cycles/kernel/svm/svm_texture.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/svm/svm_texture.h b/intern/cycles/kernel/svm/svm_texture.h index c5ded6d975f..d4765cca384 100644 --- a/intern/cycles/kernel/svm/svm_texture.h +++ b/intern/cycles/kernel/svm/svm_texture.h @@ -69,7 +69,7 @@ __device void voronoi(float3 p, NodeDistanceMetric distance_metric, float e, flo float3 pd = p - (vp + ip); float d = voronoi_distance(distance_metric, pd, e); - vp += make_float3((float)xx, (float)yy, (float)zz); + vp += ip; if(d < da[0]) { da[3] = da[2]; |