summaryrefslogtreecommitdiffstats
path: root/tests/render/pound-import.hlsl
Commit message (Collapse)AuthorAge
* Remove #import directive (#389)Tim Foley2018-01-29
| | | | | | | 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.
* Cleanups for test cases:Tim Foley2017-07-10
| | | | | | - Allow a code-generation target of `NONE` in order to suppress ordinary output in test cases where we don't care about the actual output (just pass/fail result) - Add explicit `location` layout qualifiers to intermediate vertex-to-fragment variables in GLSL test cases for rendering, to work around apparent Intel driver bugs.
* Replace "auto-import" with `#import`Tim Foley2017-06-26
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.