Use one context per OSL thread. Not sure if this actually works, but the simple rende...
authorLukas Toenne <lukas.toenne@googlemail.com>
Tue, 4 Sep 2012 08:53:47 +0000 (08:53 +0000)
committerLukas Toenne <lukas.toenne@googlemail.com>
Tue, 4 Sep 2012 08:53:47 +0000 (08:53 +0000)
commit6805db676d9d004c8131b13fca095b519997b768
treeac2a241438d6eca5bb3187dbcd73a0228e1b2948
parent71871463a4bb3c58bfa3c3b36019c1b3b02dcf1d
Use one context per OSL thread. Not sure if this actually works, but the simple renderer example in OSL does it this way.
intern/cycles/kernel/kernel_emission.h
intern/cycles/kernel/kernel_path.h
intern/cycles/kernel/kernel_shader.h
intern/cycles/kernel/osl/osl_globals.h
intern/cycles/kernel/osl/osl_shader.cpp
intern/cycles/kernel/osl/osl_shader.h