2013-11-12 03:31:24 +00:00
|
|
|
#version 100
|
|
|
|
|
2013-12-06 21:45:15 +00:00
|
|
|
// non-line continuation comment \
|
|
|
|
#error good error
|
|
|
|
|
2013-11-12 03:31:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
float f\
|
2013-12-04 17:23:03 +00:00
|
|
|
oo; // same as 'float foo;'
|
2013-11-12 03:31:24 +00:00
|
|
|
|
|
|
|
#error e2
|
|
|
|
|
|
|
|
#define MAIN void main() \
|
2013-11-12 22:01:32 +00:00
|
|
|
{ \
|
2013-11-12 03:31:24 +00:00
|
|
|
gl_Position = vec4(foo); \
|
|
|
|
}
|
|
|
|
|
|
|
|
#error e3
|
|
|
|
|
|
|
|
MAIN
|
2013-11-12 22:01:32 +00:00
|
|
|
|
|
|
|
vec4 foo2(vec4 a)
|
|
|
|
{
|
|
|
|
vec4 b = a; \
|
|
|
|
return b;
|
|
|
|
}
|
2013-12-03 20:09:57 +00:00
|
|
|
|
|
|
|
// aoeuntheo unatehutna \ antaehnathe
|
|
|
|
// anteonuth $ natohe " '
|
|
|
|
// anteonuth natohe
|
|
|
|
/*@*/
|
|
|
|
/* *@/*/
|
|
|
|
//@
|