blob: 486e796328520d0830b1e4e89feb42aae5e2b6e1 [file] [log] [blame]
John Kessenich9839e242013-09-26 00:45:21 +00001#version 120
2
3int a;
4int b, c;
5int d1 = 1;
6int e2 = 2, f;
7int g, h3 = 3;
8
9int i4[4];
10int j, k5[5];
11int m6[6], m7[7];
12int n8[8], p;
13
14int ii4[4] = int[](1, 2, 3, 4);
15int ij, ik5[5] = int[](5, 6, 7, 8, 9);
16int im2[2] = int[](10, 11), im3[3] = int[](12, 13, 14);
17int in8[4] = int[](21, 22, 23, 24), ip;
18
19void vi4[4] = int[](1, 2, 3, 4);
20void vj, vk5[5] = int[](5, 6, 7, 8, 9);
21void vm2[2] = int[](10, 11), vm3[3] = int[](12, 13, 14);
22void vn8[4] = int[](21, 22, 23, 24), vp;
23
John Kessenichf2ee3dd2013-09-28 04:02:08 +000024const int cii4[4] = int[](1, 2, 3, 4);
25const int cij, cik5[5] = int[](5, 6, 7, 8, 9);
26const int cim2[2] = int[](10, 11), cim3[3] = int[](12, 13, 14);
27const int cin8[4] = int[](21, 22, 23, 24), cip;
28
29uniform int uii4[4] = int[](1, 2, 3, 4);
30uniform int uij, uik5[5] = int[](5, 6, 7, 8, 9);
31uniform int uim2[2] = int[](10, 11), uim3[3] = int[](12, 13, 14);
32uniform int uin8[4] = int[](21, 22, 23, 24), uip;
33
John Kessenich9839e242013-09-26 00:45:21 +000034int gl_vi4[4] = int[](1, 2, 3, 4);
35int gl_vj, gl_vk5[5] = int[](5, 6, 7, 8, 9);
36int gl_vm2[2] = int[](10, 11), gl_vm3[3] = int[](12, 13, 14);
37int gl_vn8[4] = int[](21, 22, 23, 24), gl_vp;
38
39void main()
40{
41 while (bool cond = b < c);
42 while (int icond = b);
43 while (bool gl_cond = b < c);
44}
John Kessenich52c35142014-02-18 21:55:42 +000045
46int foob__vi4[4] = int[](1, 2, 3, 4);
47int foob__vj, foob__vk5[5] = int[](5, 6, 7, 8, 9);
48int __foobvm2[2] = int[](10, 11), __foobvm3[3] = int[](12, 13, 14);
49int foob__vn8[4] = int[](21, 22, 23, 24), foob__vp;