diff options
Diffstat (limited to 'intern/cycles/util/types_float3.h')
-rw-r--r-- | intern/cycles/util/types_float3.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/intern/cycles/util/types_float3.h b/intern/cycles/util/types_float3.h index 4e43e928657..87c6b1d3654 100644 --- a/intern/cycles/util/types_float3.h +++ b/intern/cycles/util/types_float3.h @@ -47,11 +47,12 @@ struct ccl_try_align(16) float3 # endif }; -ccl_device_inline float3 make_float3(float f); ccl_device_inline float3 make_float3(float x, float y, float z); -ccl_device_inline void print_float3(const char *label, const float3 &a); #endif /* __KERNEL_NATIVE_VECTOR_TYPES__ */ +ccl_device_inline float3 make_float3(float f); +ccl_device_inline void print_float3(ccl_private const char *label, const float3 a); + /* Smaller float3 for storage. For math operations this must be converted to float3, so that on the * CPU SIMD instructions can be used. */ #if defined(__KERNEL_METAL__) |