Cycles: change __device and similar qualifiers to ccl_device in kernel code.
This to avoids build conflicts with libc++ on FreeBSD, these __ prefixed values are reserved for compilers. I apologize to anyone who has patches or branches and has to go through the pain of merging this change, it may be easiest to do these same replacements in your code and then apply/merge the patch. Ref T37477.
This commit is contained in:
@@ -34,7 +34,7 @@ CCL_NAMESPACE_BEGIN
|
||||
|
||||
/* Wireframe Node */
|
||||
|
||||
__device void svm_node_wireframe(KernelGlobals *kg, ShaderData *sd, float *stack, uint in_size, uint out_fac, uint use_pixel_size)
|
||||
ccl_device void svm_node_wireframe(KernelGlobals *kg, ShaderData *sd, float *stack, uint in_size, uint out_fac, uint use_pixel_size)
|
||||
{
|
||||
/* Input Data */
|
||||
float size = stack_load_float(stack, in_size);
|
||||
|
Reference in New Issue
Block a user