yum-mirror/slang

Making it easier to work with shaders

git clone https://git.yummers.dev/yum-mirror/slang

Yong HeAdd slangc interface to compile and use ir modules. (#3615)401d8cdb1

master
182 B10 linesraw
1//TEST_IGNORE_FILE:
2
3// obfuscated-serialized-module.slang
4import obfuscated_serialized_module_shared;
5
6export int foo(Thing thing) 
7{ 
8    return (thing.a + thing.b) - thing.b; 
9}
10