Blender Git Loki

Git Commits -> Revision a280697

Revision a280697 by Sergey Sharybin (master)
August 2, 2017, 18:59 (GMT)
Cycles: Support "precompiled" headers in include expansion algorithm

The idea here is that it is possible to mark certain include statements
as "precompiled" which means all subsequent includes of that file will
be replaced with an empty string.

This is a way to deal with tricky include pattern happening in single
program OpenCL split kernel which was including bunch of headers about
10 times.

This brings preprocessing time from ~1sec to ~0.1sec on my laptop.

Commit Details:

Full Hash: a280697e77be984021cdf3181a396f34529f933d
Parent Commit: 4ad3996
Lines Changed: +13, -0

2 Modified Paths:

/intern/cycles/kernel/kernels/opencl/kernel_split.cl (+3, -0) (Diff)
/intern/cycles/util/util_path.cpp (+10, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021