From b3bb50f6879d57f4cfd531401b58da671b986d6e Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 30 Jan 2014 15:26:22 +1100 Subject: [PATCH] Warnings: quiet unused define message --- intern/cycles/util/util_optimization.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/intern/cycles/util/util_optimization.h b/intern/cycles/util/util_optimization.h index bd86fbed8ce..f901513ec4b 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. */