https://github.com/shader-slang/slang
Raw File
Tip revision: dc991f7cb6b7f9f7271f4e557cfdd3e59804d1d3 authored by Yong He on 21 October 2021, 23:27:40 UTC
Passing associated type arguments to existential parameters + packing for `bool`. (#1987)
Tip revision: dc991f7
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