yum-mirror/slang

Making it easier to work with shaders

git clone https://git.yummers.dev/yum-mirror/slang

Tim FoleyRework command-line options handling for entry points and targets (#697)725985528

master
398 B21 linesraw
1// Disbaled because Slang should perform its own semantic checking now
2//TEST_IGNORE_FILE
3//TEST:COMPARE_HLSL: -profile cs_5_0
4
5#ifdef __SLANG__
6__import import_overload_error;
7#else
8
9void foo(int a) {}
10void foo(float b) {}
11
12#endif
13
14void main()
15{
16// Note(tfoley): futzing around with tokens to
17// make sure error message gets reported at a
18// consistent location between languages.
19int a;
20foo();
21}