Cycles: Remove util_debug include from kernel code
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 19 Jan 2018 14:21:34 +0000 (15:21 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 19 Jan 2018 14:21:34 +0000 (15:21 +0100)
Not sure why it was in there, all the debug flags stuff is to be handled outside
of kernel.

intern/cycles/kernel/kernel_compat_cpu.h
intern/cycles/kernel/kernels/cpu/filter_cpu_impl.h
intern/cycles/kernel/kernels/cpu/kernel_cpu_impl.h

index 6f63c8f77a286f1d16f9f11d4535a7b992e55aa7..61cd90e9d2af8e15a20344fb7d97682e38430e2f 100644 (file)
@@ -35,7 +35,6 @@
 #  define __NODES_FEATURES__ NODE_FEATURE_ALL
 #endif
 
-#include "util/util_debug.h"
 #include "util/util_math.h"
 #include "util/util_simd.h"
 #include "util/util_half.h"
index ab39260784bc582ae49e5ca3e791b1d257b38b5c..504622ecfd976d8ae4365f5ad551c77090f8361d 100644 (file)
@@ -25,7 +25,6 @@
 #include "kernel/filter/filter_kernel.h"
 
 #ifdef KERNEL_STUB
-#  include "util/util_debug.h"
 #  define STUB_ASSERT(arch, name) assert(!(#name " kernel stub for architecture " #arch " was called!"))
 #endif
 
index fdeb7dcd3e409703cb3ae6c0cec52af133b14db4..ccca023a15f36d6b6d08379cc3932b2faca57033 100644 (file)
@@ -59,7 +59,6 @@
 #    include "kernel/split/kernel_buffer_update.h"
 #  endif  /* __SPLIT_KERNEL__ */
 #else
-#  include "util/util_debug.h"
 #  define STUB_ASSERT(arch, name) assert(!(#name " kernel stub for architecture " #arch " was called!"))
 
 #  ifdef __SPLIT_KERNEL__