Cycles: Fix embarrassing typo

Spotted by Mai Lavelle, thanks!
This commit is contained in:
Sergey Sharybin 2016-08-05 14:45:54 +02:00
parent 61d7289023
commit c5eb400b7c
3 changed files with 5 additions and 5 deletions

View File

@ -144,7 +144,7 @@ ccl_device_inline int bsdf_sample(KernelGlobals *kg,
return label;
}
#ifndef __KERNEL_CUDS__
#ifndef __KERNEL_CUDA__
ccl_device
#else
ccl_device_inline

View File

@ -149,7 +149,7 @@ ccl_device_noinline void shader_setup_from_ray(KernelGlobals *kg,
/* ShaderData setup from BSSRDF scatter */
#ifdef __SUBSURFACE__
# ifndef __KERNEL_CUDS__
# ifndef __KERNEL_CUDA__
ccl_device
# else
ccl_device_inline
@ -539,7 +539,7 @@ ccl_device_inline void _shader_bsdf_multi_eval_branched(KernelGlobals *kg,
#endif
#ifndef __KERNEL_CUDS__
#ifndef __KERNEL_CUDA__
ccl_device
#else
ccl_device_inline

View File

@ -87,7 +87,7 @@ ccl_device void svm_node_attr(KernelGlobals *kg, ShaderData *sd, float *stack, u
}
}
#ifndef __KERNEL_CUDS__
#ifndef __KERNEL_CUDA__
ccl_device
#else
ccl_device_noinline
@ -128,7 +128,7 @@ void svm_node_attr_bump_dx(KernelGlobals *kg, ShaderData *sd, float *stack, uint
}
}
#ifndef __KERNEL_CUDS__
#ifndef __KERNEL_CUDA__
ccl_device
#else
ccl_device_noinline