mirror of
https://github.com/KhronosGroup/glslang
synced 2024-09-19 20:29:54 +00:00
21 lines
316 B
GLSL
21 lines
316 B
GLSL
|
#version 100
|
||
|
|
||
|
// this file cont\
|
||
|
ains no errors other than the #error which are there to see if line numbering for errors is correct
|
||
|
|
||
|
#error e1
|
||
|
|
||
|
float f\
|
||
|
oo; // same as 'float foo;'
|
||
|
|
||
|
#error e2
|
||
|
|
||
|
#define MAIN void main() \
|
||
|
{ \
|
||
|
gl_Position = vec4(foo); \
|
||
|
}
|
||
|
|
||
|
#error e3
|
||
|
|
||
|
MAIN
|