yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
332f60c19
master
1//DISABLE_TEST:SIMPLE: 2// Disabled because we don't actually perform this inference yet 3 4func foo(f : functype (float) -> int) -> int 5{ 6 return f(0); 7} 8 9int boo<T>(T) 10{ 11 return 1; 12} 13 14int zoo() 15{ 16 // We should infer that we want boo<float> 17 return foo(boo); 18}