summaryrefslogtreecommitdiff
path: root/tests/render/pound-import.slang.h
AgeCommit message (Collapse)Author
2018-01-29Remove #import directive (#389)Tim Foley
Fixes #380 The `#import` directive was a stopgap measure to allow a macro-heavy shader library to incrementally adopt `import`, but it has turned out to cause as many problems as it fixes (not least because users have never been able to form a good mental model around which kind of import to do when). This change yanks support for the feature.
2017-06-26Replace "auto-import" with `#import`Tim Foley
Right now `#import` only differs from `#include` in that it takes a string literal for a file name instead of a raw identifier (to which `.slang` gets appended). The next step is to make `#import` respect preprocessor state, while `__import` doesn't.