[Bf-blender-cvs] [751dde236b9] cycles_oneapi: Cleanup: fix Cycles float3 endif comment

Xavier Hallade noreply at git.blender.org
Thu Jun 23 13:14:03 CEST 2022


Commit: 751dde236b946d01f5ae046cb1e24f9309a86b3f
Author: Xavier Hallade
Date:   Thu Jun 23 13:11:57 2022 +0200
Branches: cycles_oneapi
https://developer.blender.org/rB751dde236b946d01f5ae046cb1e24f9309a86b3f

Cleanup: fix Cycles float3 endif comment

oneAPI backend uses its own smaller float3 type.

===================================================================

M	intern/cycles/util/types_float3_impl.h

===================================================================

diff --git a/intern/cycles/util/types_float3_impl.h b/intern/cycles/util/types_float3_impl.h
index 7fbceafb493..2e6e864c8ea 100644
--- a/intern/cycles/util/types_float3_impl.h
+++ b/intern/cycles/util/types_float3_impl.h
@@ -83,7 +83,7 @@ ccl_device_inline void print_float3(const char *label, const float3 &a)
 {
   printf("%s: %.8f %.8f %.8f\n", label, (double)a.x, (double)a.y, (double)a.z);
 }
-#endif /* !defined(__KERNEL_GPU__) || defined(__KERNEL_ONEAPI__) */
+#endif /* !defined(__KERNEL_GPU__) */
 
 CCL_NAMESPACE_END



More information about the Bf-blender-cvs mailing list