blob: 4767f7ab122b8ba687de3ddb5aa8d87850e184e7 [file] [log] [blame]
John Kessenich2f21fcc2015-06-17 16:15:09 +00001#version 120
2
3uniform vec4 bigColor;
4varying vec4 BaseColor;
5uniform float d;
6
7float bar = 2.0;
8
9void foo()
10{
11 bar++;
12
13 return;
14}
15
16void foo2()
17{
18 bar++;
19}
20
21void main()
22{
23 vec4 outColor = bigColor;
24
25 foo();
26
27 foo2();
28
29 outColor.x += bar;
30
31 gl_FragColor = outColor;
32
33 return;
34}