Cycles OSL minor optimizations: recycle shading context, don't do memory
[blender.git] / intern / cycles / kernel / closure / emissive.h
index cbf9d9a4efb2c6aba55ea08e5a0ceea95bc75a15..33b1b695a9aa8135a10b8029bbee171f8143205d 100644 (file)
@@ -49,17 +49,12 @@ __device void emissive_sample(const float3 Ng, float randu, float randv,
        /* todo: not implemented and used yet */
 }
 
-__device float3 emissive_eval(const float3 Ng, const float3 I)
+__device float3 emissive_simple_eval(const float3 Ng, const float3 I)
 {
        float res = emissive_pdf(Ng, I);
        
        return make_float3(res, res, res);
 }
 
-__device float3 svm_emissive_eval(ShaderData *sd, ShaderClosure *sc)
-{
-       return emissive_eval(sd->Ng, sd->I);
-}
-
 CCL_NAMESPACE_END