yum-mirror/slang

Making it easier to work with shaders

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

T. FoleyOverhaul the preprocessor (#1849)0389546b0

master
195 B15 linesraw
1//DIAGNOSTIC_TEST:SIMPLE:-E
2
3#define CONCAT(a, b) a ## b
4
5#define A a
6#define B b
7
8#define A2 A
9#define B2 B
10
11// Correct output: a A2B2 b;
12// Old Slang output 
13// a ab b ;
14
15CONCAT(A2 A2, B2 B2);