Sergey Sharybin
c9133778cf
Cycles: Add CPU compat headers to some of the OSL implementation files
...
This header was already included into some of the implementation files already,
and this change is needed for some upcoming changes in the way how kernel_types.h
works.
2015-05-09 19:04:16 +05:00
4d6c877b66
Cycles OSL: fix mistake in recent refactoring, parameters are not set before setup.
2013-11-29 17:18:43 +01:00
746628e0d0
Cycles OSL: refactoring to remove all dependencies on builtin OSL closures.
...
These were removed in new OSL versions. We only used these as base classes,
not using them at all simplifies the code a bit.
2013-11-29 04:01:07 +01:00
Brecht Van Lommel
06888b7beb
Cycles OSL minor optimizations: recycle shading context, don't do memory
...
allocations for trace data, avoid some virtual function calls. Only helps
a few percentages.
2012-12-15 10:18:42 +00:00
Brecht Van Lommel
8d4bd2cf3b
Cycles OSL: add diffuse_ramp closure in addition to phong_ramp.
2012-12-11 14:39:41 +00:00