yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
6aad38a43
master
1// x-macro.slang 2//TEST:SIMPLE: 3 4// Test the case of an "X macro" that takes another macro as a parameter 5 6#define X(M) M(0) M(1) M(2) M(3) M(4) M(5) M(6) M(7) 7 8#define A(x) + x + x + x 9 10int sum() 11{ 12 return X(A); 13}