https://github.com/shader-slang/slang
Raw File
Tip revision: 81ce78d08a7e3fbe74f2fd41c5a258ea4b078245 authored by Tim Foley on 06 August 2019, 19:14:52 UTC
Add support for the HLSL "cast from zero" idiom (#1008)
Tip revision: 81ce78d
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