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
161 B11 linesraw
1//TEST_IGNORE_FILE:
2
3// serialized-module.slang
4
5import serialized_module_shared;
6
7export int foo(Thing thing) 
8{ 
9    return (thing.a + thing.b) - thing.b; 
10}
11