https://github.com/shader-slang/slang
Raw File
Tip revision: af61737e7ba107e9e92164bf39ce6ab34e05ce82 authored by Yong He on 29 September 2023, 01:08:06 UTC
[Direct SPIRV]: ray tracing pipeline intrinsics. (#3244)
Tip revision: af61737
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