[Bf-blender-cvs] [b3bb50f] master: Warnings: quiet unused define message
Campbell Barton
noreply at git.blender.org
Thu Jan 30 06:33:11 CET 2014
Commit: b3bb50f6879d57f4cfd531401b58da671b986d6e
Author: Campbell Barton
Date: Thu Jan 30 15:26:22 2014 +1100
https://developer.blender.org/rBb3bb50f6879d57f4cfd531401b58da671b986d6e
Warnings: quiet unused define message
===================================================================
M intern/cycles/util/util_optimization.h
===================================================================
diff --git a/intern/cycles/util/util_optimization.h b/intern/cycles/util/util_optimization.h
index bd86fbe..f901513 100644
--- a/intern/cycles/util/util_optimization.h
+++ b/intern/cycles/util/util_optimization.h
@@ -19,6 +19,14 @@
#ifndef __KERNEL_GPU__
+/* quiet unused define warnings */
+#if defined(__KERNEL_SSE2__) || \
+ defined(__KERNEL_SSE3__) || \
+ defined(__KERNEL_SSSE3__) || \
+ defined(__KERNEL_SSE41__)
+ /* do nothing */
+#endif
+
/* x86
*
* Compile a regular, SSE2 and SSE3 kernel. */
More information about the Bf-blender-cvs
mailing list