yum-mirror/slang

Making it easier to work with shaders

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

Tim FoleyFix the way extension declarations are cached for lookup (#1450)e93d3a443

master
248 B17 linesraw
1// extension-import.slang
2
3// Confirm that visibility of extensions through `import` is working.
4
5//TEST:SIMPLE:
6
7import extension_import_helper;
8
9float test<T : IThing>(T value)
10{
11	return value.getValue();
12}
13
14float id(float x)
15{
16	return test(x);
17}