Blender Git Loki

Git Commits -> Revision 4cb0e25

Revision 4cb0e25 by Sergey Sharybin (master)
December 3, 2014, 15:34 (GMT)
Cycles: Use 16 bytes aligned closures in OSL

This solves bugs like T42210 which are caused by compiler being
smart and using some SSE instructions to operate with closure
classes, which was failing because those classes are not allocated
by the regular allocator but allocated in memory pool in OSL.

With newer versions of OSL it is now possible to force closure
classes being aligned to a given boundary and this commit uses
this new functionality.

Unfortunately, it means we're no longer compatible with older
versions of OSL, only latest git version from upstream and our
branch at github are supported:

https://github.com/Nazg-Gul/OpenShadingLanguage/tree/blender-fixes

For OSX and Windows it's not an issue because libraries are
already updated there, Linux users would need to run install_deps
script.

Commit Details:

Full Hash: 4cb0e256789231a329780bbdc8706e6aa031e52e
Parent Commit: 894dbda
Lines Changed: +1, -1

1 Modified Path:

/intern/cycles/kernel/osl/osl_closures.cpp (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021