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