Fix #29274: problem compiling cycles opencl kernel from directory with spaces.

Some drivers don't support passing include paths with spaces in them, nor does
the opencl spec specify anything about how to quote/escape such paths, so for
now we just resolved #includes ourselves. Alternative would have been to use c
preprocessor, but this also resolves all #ifdefs, which we do not want.
This commit is contained in:
Brecht Van Lommel
2011-11-22 16:38:58 +00:00
parent 36fa74b50e
commit eb2baf9abc
5 changed files with 47 additions and 6 deletions

View File

@@ -25,7 +25,6 @@
#include "kernel_film.h"
#include "kernel_path.h"
//#include "kernel_displace.h"
__kernel void kernel_ocl_path_trace(
__constant KernelData *data,