https://github.com/shader-slang/slang
Raw File
Tip revision: d87493a46c00be37b820a473c0827bbb865eb222 authored by Yong He on 02 October 2023, 22:39:34 UTC
More direct-SPIRV fixes. (#3257)
Tip revision: d87493a
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