https://github.com/shader-slang/slang
Raw File
Tip revision: 6308a1224672944220a1fee34ae22f70212703a0 authored by Tim Foley on 25 February 2020, 16:12:16 UTC
Fix a crash when a generic value argument isn't constant (#1241)
Tip revision: 6308a12
import-exported.slang
//TEST:SIMPLE:

// Confirming that we can use a re-exported function

// `a` imports `b` (which defines `foo`) and re-exports it
__import import_exported_a;

float bar(float x) { return foo(x); }
back to top