Cycles: fix crash rendering textured objects in OpenCL
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 5 Nov 2012 08:05:24 +0000 (08:05 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 5 Nov 2012 08:05:24 +0000 (08:05 +0000)
commit540c9d420853668ab6c3a3d402108d2f43abd2c5
tree4a4f924934e692ce7e98670d11973dd9d8a45245
parent759ea4078782ace683a3e835166b7f324c8e3224
Cycles: fix crash rendering textured objects in OpenCL

Issue was caused by changed order of texture slots -- float textures
have got lower slots indices than byte textures. OpenCL was still assuming
byte textures goes before float.
intern/cycles/kernel/kernel_types.h
intern/cycles/kernel/svm/svm_image.h
intern/cycles/render/image.h