blob: 167e78ee75b06a93c5448f2217d59d8c50bd6ff5 [file] [log] [blame]
Markus Tavenrath7b89e752017-01-23 16:53:16 -08001#version 450
2
3vec4 getColor();
4
John Kessenich5a867ac2018-04-01 21:22:34 -06005layout(location=0) out vec4 color;
6
7int a1[]; // max size from link1
8int a2[]; // max size from link2
9int b[5];
10int c[];
11int i;
12
13buffer bnameRuntime { float r[]; };
14buffer bnameImplicit { float m[]; };
Markus Tavenrath7b89e752017-01-23 16:53:16 -080015
16void main()
17{
18 color = getColor();
John Kessenich5a867ac2018-04-01 21:22:34 -060019
20 a1[8] = 1;
21 a2[1] = 1;
22 b[i] = 1;
23 c[3] = 1;
Markus Tavenrath7b89e752017-01-23 16:53:16 -080024}