https://github.com/shader-slang/slang
Raw File
Tip revision: 122d701513e116856bd59c999221ce36a373d7db authored by Yong He on 01 October 2021, 00:51:56 UTC
Fix GitHub release (#1956)
Tip revision: 122d701
import-subdir-search-path.slang
//TEST:SIMPLE: -Itests/front-end/subdir

// Confirming import lookup via search paths work

__import import_subdir_a;

// Should realize it's the same thing
__import subdir.import_subdir_a;

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