Blender Git Commit Log
Git Commits -> Revision b8c3f59
Revision b8c3f59 by Sergey Sharybin (master) July 30, 2012, 15:26 (GMT) |
Tomato Cycles: resolve textures limit when using CPU render Remove limit for number of textures when using CPU rendering, so huge scenes from Mango could be rendered properly. Re-arranged float and bytes textures for this, so now float textures goes before byte. This is needed to make alignment stuff easier for variable number of textures. Also replace code-generated CPU kernel structure's members with an array, which makes it easier to access textures without adding bunch of cases in switch. Should be no functional changes when rendering with GPU or OpenCL devices. |
Commit Details:
Full Hash: b8c3f59e92f906de3f4f90cbca50f41dd0599a8c
SVN Revision: 49396
Parent Commit: 1a062e2
Lines Changed: +102, -171
10 Modified Paths:
/intern/cycles/blender/blender_session.cpp (+1, -1) (Diff)
/intern/cycles/kernel/kernel.cpp (+6, -104) (Diff)
/intern/cycles/kernel/kernel_compat_cpu.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_globals.h (+6, -1) (Diff)
/intern/cycles/kernel/kernel_textures.h (+12, -12) (Diff)
/intern/cycles/kernel/svm/svm_image.h (+14, -10) (Diff)
/intern/cycles/render/image.cpp (+43, -36) (Diff)
/intern/cycles/render/image.h (+11, -2) (Diff)
/intern/cycles/render/scene.cpp (+4, -1) (Diff)
/intern/cycles/render/scene.h (+4, -3) (Diff)
/intern/cycles/kernel/kernel.cpp (+6, -104) (Diff)
/intern/cycles/kernel/kernel_compat_cpu.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_globals.h (+6, -1) (Diff)
/intern/cycles/kernel/kernel_textures.h (+12, -12) (Diff)
/intern/cycles/kernel/svm/svm_image.h (+14, -10) (Diff)
/intern/cycles/render/image.cpp (+43, -36) (Diff)
/intern/cycles/render/image.h (+11, -2) (Diff)
/intern/cycles/render/scene.cpp (+4, -1) (Diff)
/intern/cycles/render/scene.h (+4, -3) (Diff)