diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-08-02 21:10:36 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-08-02 21:59:19 +0300 |
commit | a280697e77be984021cdf3181a396f34529f933d (patch) | |
tree | 3c1bd48ffb3380230a3ca03868335f9e924f53c1 /intern/mikktspace | |
parent | 4ad39964fd2f7e27ecc42946b421c22794e8f75f (diff) |
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.
Diffstat (limited to 'intern/mikktspace')
0 files changed, 0 insertions, 0 deletions