bgfx/3rdparty/glslang/Test/hlsl.pp.tokenpasting.frag
Branimir Karadžić 6def346bf9 Updated glslang.
2017-01-04 20:34:04 -08:00

19 lines
267 B
GLSL

#define foobarblee zzzz
#define ar qqqq
#define MACRO1(x,y) foo##x##y
// #define MACRO2 abc##def
// #define SPACE_IN_MACRO int var1
float4 main() : SV_Target0
{
// float MACRO2 = 10;
float MACRO1(b##ar,blee) = 3;
return float4(foobarblee,0,0,0);
}