https://github.com/shader-slang/slang
Raw File
Tip revision: 8a70e20df6f47678c146eb29f89655aa734f97c7 authored by jsmall-nvidia on 06 October 2020, 17:30:55 UTC
InterlockedExchangeU64 support on RWByteAddressBuffer (#1572)
Tip revision: 8a70e20
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