Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-02-02 14:33:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-02-02 14:33:52 +0400
commit41cc86a666d22501f25c58d81b1b94020b8c997f (patch)
treeac31f4659b9faf2a54ddeb7d6425436f9afe72c8 /intern
parent42b68c2b1d56a6121dcf6b0aedadc9beae700616 (diff)
Add include needed for clang, quiet warning
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/kernel/kernel.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/intern/cycles/kernel/kernel.cpp b/intern/cycles/kernel/kernel.cpp
index 3fe1e80890b..6cd14d3c51c 100644
--- a/intern/cycles/kernel/kernel.cpp
+++ b/intern/cycles/kernel/kernel.cpp
@@ -89,6 +89,11 @@ void kernel_tex_copy(KernelGlobals *kg, const char *name, device_ptr mem, size_t
#define __KERNEL_SSE2__
#endif
+/* quiet unused define warnings */
+#if defined(__KERNEL_SSE2__)
+ /* do nothing */
+#endif
+
/* Path Tracing */
void kernel_cpu_path_trace(KernelGlobals *kg, float *buffer, unsigned int *rng_state, int sample, int x, int y, int offset, int stride)