Cycles: inline more functions on the GPU
This makes little difference for CUDA and OpenCL, but will be helpful for Optix.
This commit is contained in:

committed by
Brecht Van Lommel

parent
2b999c6a68
commit
f491c23f1e
@@ -18,12 +18,12 @@ CCL_NAMESPACE_BEGIN
|
||||
|
||||
/* Wave */
|
||||
|
||||
ccl_device_noinline float svm_wave(NodeWaveType type,
|
||||
NodeWaveProfile profile,
|
||||
float3 p,
|
||||
float detail,
|
||||
float distortion,
|
||||
float dscale)
|
||||
ccl_device_noinline_cpu float svm_wave(NodeWaveType type,
|
||||
NodeWaveProfile profile,
|
||||
float3 p,
|
||||
float detail,
|
||||
float distortion,
|
||||
float dscale)
|
||||
{
|
||||
float n;
|
||||
|
||||
|
Reference in New Issue
Block a user