Fix #30049: cycles noise texture producing nan values with some
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 7 Feb 2012 17:32:01 +0000 (17:32 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 7 Feb 2012 17:32:01 +0000 (17:32 +0000)
commit4a427a441b37ad0539e3c758b31a384edf8b7c76
treeb8b4a69ec083d547068f2a30b76e13100f813e90
parentb67b1c8564cedfc425892f6b071210b724366523
Fix #30049: cycles noise texture producing nan values with some
texture coordinates, due to int overflow.

Also minor tweak in shader code to avoid copying uninitialized
values, should have no effect though because they were not used.
intern/cycles/kernel/kernel_shader.h
intern/cycles/kernel/svm/svm_noise.h