3 layout(std140, row_major) uniform nameless {
\r
7 vec4 anonDeadMember2;
\r
9 int scalarBeforeArray;
\r
10 float floatArray[5];
\r
11 int scalarAfterArray;
\r
15 layout(std140, column_major) uniform c_nameless {
\r
18 int c_scalarAfterm23;
\r
19 vec4 c_anonDeadMember2;
\r
23 layout(std140) uniform named {
\r
36 layout(std140) uniform namelessdead {
\r
40 layout(std140) uniform namedDead {
\r
59 layout(std140) uniform nested {
\r
63 layout(std140) uniform nested2 {
\r
64 vec4 padding; // offset 0, size 16
\r
65 N3 a; // offset 16, size 32
\r
66 N1 b[4]; // offset 48, size 64
\r
67 N1 c[2]; // offset 112, size 32
\r
68 N1 d[4]; // offset 144, size 64
\r
80 uniform float ufDead3;
\r
81 uniform float ufDead4;
\r
83 uniform writeonly uimage2D image_ui2D;
\r
84 uniform sampler2D sampler_2D;
\r
85 uniform sampler2DMSArray sampler_2DMSArray;
\r
87 uniform mat2 dm22[10];
\r
105 in float attributeFloat;
\r
106 layout(location = 2) in vec2 attributeFloat2;
\r
107 in vec3 attributeFloat3;
\r
108 in vec4 attributeFloat4;
\r
109 in mat4 attributeMat4;
\r
110 in float attributeFloatArray[3];
\r
112 uniform deep3 deepA[2], deepB[2], deepC[3], deepD[2];
\r
114 const bool control = true;
\r
116 void deadFunction()
\r
118 vec3 v3 = ablock.deadMember1;
\r
119 vec4 v = anonDeadMember2;
\r
123 void liveFunction2()
\r
125 vec3 v = anonMember1;
\r
129 void liveFunction1(writeonly uimage2D p_ui2D, sampler2D p_2D, sampler2DMSArray p_2DMSArray)
\r
134 vec4 v = ablock.member3;
\r
147 float runtimeArray[];
\r
157 float runtimeArray[];
\r
165 struct VertexInfo {
\r
170 struct TriangleInfo {
\r
174 buffer VertexCollection {
\r
183 liveFunction1(image_ui2D, sampler_2D, sampler_2DMSArray);
\r
196 f = m23[1].y + scalarAfterm23;
\r
197 f = c_m23[1].y + c_scalarAfterm23;
\r
198 f += scalarBeforeArray;
\r
199 f += floatArray[2];
\r
200 f += floatArray[4];
\r
201 f += scalarAfterArray;
\r
202 f += ablock.memvec2.x;
\r
204 f += float(ablock.memf2);
\r
206 f += ablock.memvec2a.y;
\r
207 f += ablock.m22[i][1][0];
\r
208 f += dm22[3][0][1];
\r
210 f += nest.foo.n1.a + nest.foo.n2.b + nest.foo.n2.c + nest.foo.n2.d;
\r
211 f += deepA[i].d2.d1[2].va[1].x;
\r
212 f += deepB[1].d2.d1[i].va[1].x;
\r
213 f += deepB[i].d2.d1[i].va[1].x;
\r
214 deep3 d = deepC[1];
\r
215 deep3 da[2] = deepD;
\r
216 deep1 db = deepA[i].d2.d1[i];
\r
220 f += arrBl[2].foo + arrBl[0].foo;
\r
221 f += arrBl2[i].foo;
\r
223 f += attributeFloat;
\r
224 f += attributeFloat2.x;
\r
225 f += attributeFloat3.x;
\r
226 f += attributeFloat4.x;
\r
227 f += attributeMat4[0][1];
\r
228 f += attributeFloatArray[2];
\r
229 f += buf1i.runtimeArray[3];
\r
230 f += buf2i.runtimeArray[3].c;
\r
231 f += buf3i.runtimeArray[gl_InstanceID];
\r
232 f += buf4i.runtimeArray[gl_InstanceID].c;
\r
237 f += nest2.d[gl_InstanceID].a;
\r
239 f += t[0].v[0].position[0];
\r
240 f += t[gl_InstanceID].v[gl_InstanceID].position[gl_InstanceID];
\r
241 f += t[gl_InstanceID].v[gl_InstanceID].normal[gl_InstanceID];
\r
242 TriangleInfo tlocal[5] = t;
\r