yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
87c96bcfa
master
1//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK): 2module mymodule; 3 4// This tests the issue described here: https://github.com/shader-slang/slang/issues/5995 5 6//CHECK: result code = 0 7//CHECK: tests/modules/implementing-with-ext.slang(1): warning 30506: implementing directive contains file extension in module name 'mymodule.slang'. Module names should not include extensions. The compiler will use 'mymodule' as the module name. 8__include "implementing-with-ext"; 9 10int moduleFunction() { return 0; }