Blender Git Loki

Git Commits -> Revision eb2baf9

Revision eb2baf9 by Brecht Van Lommel (master)
November 22, 2011, 16:38 (GMT)
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.

Commit Details:

Full Hash: eb2baf9abc7b182acd9b4c0ba2e002441705f77c
SVN Revision: 42071
Parent Commit: 36fa74b
Lines Changed: +47, -6

5 Modified Paths:

/intern/cycles/device/device_opencl.cpp (+3, -4) (Diff)
/intern/cycles/kernel/kernel.cl (+0, -1) (Diff)
/intern/cycles/render/filter.cpp (+1, -1) (Diff)
/intern/cycles/util/util_path.cpp (+41, -0) (Diff)
/intern/cycles/util/util_path.h (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021