3 layout(vertices = 4) out;
\r
5 layout(location=1) patch out vec4 patchOut;
\r
8 float sMem1; // should not see a patch decoration
\r
9 float sMem2; // should not see a patch decoration
\r
12 layout(location = 12) patch out TheBlock {
\r
13 highp float bMem1; // should not see a location decoration
\r
15 S s; // should see a patch decoration
\r
20 gl_out[gl_InvocationID].gl_Position = gl_in[gl_InvocationID].gl_Position;
23 layout(location = 2) patch out SingleBlock {
\r
24 highp float bMem1; // should not see a location decoration
\r
26 S s; // should see a patch decoration
\r
29 layout(location = 20) patch out bn {
\r
30 vec4 v1; // location 20
\r
31 layout(location = 24) vec4 v2; // location 24
\r
32 vec4 v3; // location 25
\r