Revert "Use one context per OSL thread. Not sure if this actually works, but the...
[blender.git] / intern / cycles / kernel / osl / osl_shader.h
index a888335aad6458a923c89d117715031ae6cccfd7..815557ed203a6d1d218b15547f18aca1334574c2 100644 (file)
@@ -77,6 +77,9 @@ public:
 
        static float3 volume_eval_phase(const ShaderData *sd, const ShaderClosure *sc,
                                        const float3 omega_in, const float3 omega_out);
+
+       /* release */
+       static void release(KernelGlobals *kg, const ShaderData *sd);
 };
 
 CCL_NAMESPACE_END