yum-mirror/slang

Making it easier to work with shaders

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

jsmall-nvidiaSupport for __LINE__ and __FILE__ in preprocessor (#1772)5fde038b1

master
182 B12 linesraw
1//DIAGNOSTIC_TEST:SIMPLE:-E
2
3// Output here varies by compiler. Gcc makes the line the one with M. Clang makes it the end bracket.
4
5#define M(ARG) __LINE__
6
7
8int x = M
9(
10ignored
11)
12;