https://github.com/shader-slang/slang
Raw File
Tip revision: 4397d90fe14940e421a4e87df51b22d78d5efe9e authored by Tim Foley on 15 May 2020, 21:42:02 UTC
Add a few missing enum cases to slang.h (#1347)
Tip revision: 4397d90
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