Cycles: Remove workaround in ShaderClosure
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 3 Dec 2014 15:50:25 +0000 (20:50 +0500)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 3 Dec 2014 15:50:25 +0000 (20:50 +0500)
commit58005e135b32cecedfe832b0a67ba7fb4942d4ab
tree2977f3c7ec3b83aea514fa10176d77c2929998d4
parent4cb0e256789231a329780bbdc8706e6aa031e52e
Cycles: Remove workaround in ShaderClosure

Since the aligned allocation of shader closures in OSL memory pool
this workaround is no longer needed.

Also put a comment which describes the desired layout of the structure
so array of shader closures is all nicely aligned.
intern/cycles/kernel/kernel_types.h