https://github.com/shader-slang/slang
Raw File
Tip revision: 9a1e327387ffa8552ac2f0aee8836a0b10a5578f authored by Yong He on 01 March 2024, 23:24:16 UTC
Make slangc commandline parsing compatible with renderdoc. (#3658)
Tip revision: 9a1e327
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