https://github.com/shader-slang/slang
Raw File
Tip revision: 3dce6e08dd74c6dfbfb8f553eaf18200a6bf6f2a authored by Yong He on 28 September 2022, 22:03:32 UTC
Fix release CI script. (#2419)
Tip revision: 3dce6e0
import-subdir-search-path-repro.slang
//DISABLE_TEST:SIMPLE: -Itests/front-end/subdir -dump-repro import-subdir-search-path-repro.slang-repro
//DISABLE_TEST:SIMPLE_EX: -extract-repro import-subdir-search-path-repro.slang-repro
//DISABLE_TEST:SIMPLE: -load-repro import-subdir-search-path-repro.slang-repro

// 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