Cycles: Fix/workaround for wrong/noise render results with GCC6

This commit is contained in:
Sergey Sharybin 2016-08-05 10:48:38 +02:00
parent a8b3ff9e16
commit 470cc98945

@ -85,12 +85,7 @@ ccl_device ShaderClosure *subsurface_scatter_pick_closure(KernelGlobals *kg, Sha
return NULL;
}
#ifndef __KERNEL_GPU__
ccl_device
#else
ccl_device_inline
#endif
float3 subsurface_scatter_eval(ShaderData *sd,
ccl_device_noinline float3 subsurface_scatter_eval(ShaderData *sd,
ShaderClosure *sc,
float disk_r,
float r,