yum-mirror/slang

Making it easier to work with shaders

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

Tim FoleyMerge pull request #3 from tfoleyNV/rename-testsce90fec1c

master
180 B14 linesraw
1//TEST:SIMPLE:
2// #define support
3
4#define FOO 1.0f
5
6float foo() { return FOO + 2.0; }
7
8#define BAR 99
9
10#if BAR > 10
11int bar() { return 0; }
12#else
13BadThing shouldntCompile;
14#endif