Cycles: Make all #include statements relative to cycles source directory
[blender.git] / intern / cycles / kernel / split / kernel_data_init.h
index ed447049e4828c9b0b88cfe1d02302640ef1519f..9d3d01fff75c9e4636985199555c2b9b1feb2155 100644 (file)
@@ -54,7 +54,7 @@ void KERNEL_FUNCTION_FULL_NAME(data_init)(
 #ifdef __KERNEL_OPENCL__
 #define KERNEL_TEX(type, ttype, name)                                   \
         ccl_global type *name,
-#include "../kernel_textures.h"
+#include "kernel/kernel_textures.h"
 #endif
 
         int start_sample,
@@ -98,7 +98,7 @@ void KERNEL_FUNCTION_FULL_NAME(data_init)(
 #ifdef __KERNEL_OPENCL__
 #define KERNEL_TEX(type, ttype, name) \
        kg->name = name;
-#include "../kernel_textures.h"
+#include "kernel/kernel_textures.h"
 #endif
 
        int thread_index = ccl_global_id(1) * ccl_global_size(0) + ccl_global_id(0);