diff options
| author | Yong He <yonghe@outlook.com> | 2024-02-23 16:39:46 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-23 16:39:46 -0800 |
| commit | 401d8cdb12ae69aeb216c80c9bb90240d8359649 (patch) | |
| tree | 4548c9de52bdeff424a0a3969ad407fccb3c0f09 /tests/serialization/obfuscated-loc-module.slang | |
| parent | 58eb6f7da01af1767282ee12b0b4b25c57e52afb (diff) | |
Add slangc interface to compile and use ir modules. (#3615)
* Add slangc interface to compile and use ir modules.
* Fix glsl scalar layout settings not copied to target.
* Fix.
* Cleanups.
Diffstat (limited to 'tests/serialization/obfuscated-loc-module.slang')
| -rw-r--r-- | tests/serialization/obfuscated-loc-module.slang | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/serialization/obfuscated-loc-module.slang b/tests/serialization/obfuscated-loc-module.slang index 63c4f61ee..4837e6486 100644 --- a/tests/serialization/obfuscated-loc-module.slang +++ b/tests/serialization/obfuscated-loc-module.slang @@ -3,13 +3,13 @@ // obfuscated-loc-module.slang -int billy(int v) +export int billy(int v) { return v + 1; } // This function is designed to fail during IR passes/emit. -int silly(int a) +export int silly(int a) { int t = 0; [ForceUnroll(10)] |
