forked from bartvdbraak/blender
Cycles: Fix/workaround for wrong/noise render results with GCC6
This commit is contained in:
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,
|
||||
|
Loading…
Reference in New Issue
Block a user