diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2022-04-15 15:46:45 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-15 15:46:45 -0400 |
| commit | d939773a9127bccbbd22903eb5b5620ad7127d37 (patch) | |
| tree | c9610f4891ba99f70bb5493ebca2daf16da88722 /tests/library/library.slang | |
| parent | ac81614974700806e8257b8483a0ba97b925971a (diff) | |
DXIL library support and Artifact type (#2186)
* #include an absolute path didn't work - because paths were taken to always be relative.
* Compile to a dxil library.
* Added CompileProduct.
* Support handling of ModuleLibrary.
* CacheBehavior -> Cache
* Use CompileProduct for -r references.
* CompileProduct -> Artifact.
* Determining an artifact type on binding.
* Determine binary linkability.
* Added Artifact::exists.
* Added ArtifactKeep.
* Small fixes.
* Small improvements to Artifact.
* Add zip extension.
* Fix some comments.
Diffstat (limited to 'tests/library/library.slang')
| -rw-r--r-- | tests/library/library.slang | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/library/library.slang b/tests/library/library.slang new file mode 100644 index 000000000..a9e7e5e7a --- /dev/null +++ b/tests/library/library.slang @@ -0,0 +1,9 @@ +//TEST_IGNORE_FILE: + +// library.slang + +public int foo(int a) +{ + return a * a + 1; +} + |
