2013-06-25 21:09:47 +00:00
|
|
|
#version 300 es
|
|
|
|
|
|
|
|
// this file cont\
|
2013-07-06 19:54:21 +00:00
|
|
|
ains no errors other than the #error which are there to see if line numbering for errors is correct
|
|
|
|
|
|
|
|
#error e1
|
2013-06-25 21:09:47 +00:00
|
|
|
|
|
|
|
float f\
|
|
|
|
oo; // same as 'float foo;'
|
|
|
|
|
2013-07-06 19:54:21 +00:00
|
|
|
#error e2
|
|
|
|
|
2013-06-25 21:09:47 +00:00
|
|
|
#define MAIN void main() \
|
2013-11-12 22:01:32 +00:00
|
|
|
{ \
|
2013-06-25 21:09:47 +00:00
|
|
|
gl_Position = vec4(foo); \
|
|
|
|
}
|
|
|
|
|
2013-07-06 19:54:21 +00:00
|
|
|
#error e3
|
|
|
|
|
2013-06-25 21:09:47 +00:00
|
|
|
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
|