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
154 B12 linesraw
1//DIAGNOSTIC_TEST:SIMPLE:-E
2
3#define A a
4#define B b
5
6// Correct output 
7// "A B"
8// Old Slang output 
9// # a b ;
10
11#define STRINGIFY(x) #x
12STRINGIFY(A B);