Quick fix for compiler error. Somehow the isfinite symbol got lost for SVM too now...
[blender.git] / intern / cycles / kernel / kernel_accumulate.h
index e73b2ba70b8a0b9e8319fc86def9e3372d5d108d..bd03537519f82665df29ed3ac9771827c005700a 100644 (file)
@@ -301,9 +301,7 @@ __device_inline float3 path_radiance_sum(KernelGlobals *kg, PathRadiance *L)
 
 __device_inline void path_radiance_clamp(PathRadiance *L, float3 *L_sum, float clamp)
 {
-       #ifdef WITH_OSL
        using std::isfinite;
-       #endif
 
        float sum = fabsf((*L_sum).x) + fabsf((*L_sum).y) + fabsf((*L_sum).z);