Lines Matching refs:location

3 // Note 'location' tests for enhanced layouts are in 330.frag
5 layout(location = 2, component = 2) in vec2 a;
6 layout(location = 2, component = 1) in float b;
8 layout(location = 3, component = 2) in vec3 c; // ERROR: c overflows components 2 and 3
10 layout(location = 0, component = 3) in float d[4];
12 layout(location = 4, component = 0) in vec3 e[5];
13 layout(location = 4, component = 3) in float f[5];
15 layout(location = 9, component = 4) in float g[6]; // ERROR, component too big
17 layout(location = 4, component = 2) in vec2 h; // component overlap okay for vertex in
19 layout(location = 3, component = 2) out vec2 i;
20 layout(location = 3, component = 0) out vec2 j;
22 layout(location = 4, component = 2) out vec2 k;
23 layout(location = 4, component = 2) out vec2 m; // ERROR, component overlap
25 layout(location = 2, component = 2) out vec2 n;
26 layout(location = 2, component = 0) out vec3 p; // ERROR, component overlap
28 layout(location = 10, component = 3) out float q[6];
29 layout(location = 10, component = 0) out vec3 r[6];
31 layout(location = 15, component = 3) out float s; // ERROR, overlap
32 layout(location = 10, component = 1) out float t; // ERROR, overlap
34 layout(location = 20, component = 2) out float u;
35 layout(location = 20, component = 0) out float v;
36 layout(location = 20, component = 3) out float w;
37 layout(location = 20, component = 1) out vec2 x; // ERROR, overlap
39 layout(location = 30, component = 3) out vec2 y; // ERROR, goes to component 4
40 layout(location = 31, component = 1) out vec4 z; // ERROR, goes to component 4
42 layout(location = 32, component = 1) out mat4 ba; // ERROR
43 layout(location = 33, component = 1) out struct S {int a;} Ss; // ERROR
44 layout(location = 34, component = 1) out bn { int a;} bb; // ERROR
46 layout(component = 1) out float bc; // ERROR, no location
49 layout(location = 40, component = 2) out float u;
50 layout(location = 40, component = 0) out float v;
51 layout(location = 40, component = 3) out float w;
52 layout(location = 40, component = 1) out vec2 x; // ERROR, overlap
54 layout(location = 41, component = 3) out vec2 y; // ERROR, goes to component 4
55 layout(location = 42, component = 1) out vec4 z; // ERROR, goes to component 4
57 layout(location = 42, component = 1) out mat4 ba; // ERROR
58 layout(location = 43, component = 1) out S Ss; // ERROR
61 layout(location = 1, component = 1) out; // ERROR, no global setting
63 layout(location = 50, component = 3) out int be;
64 layout(location = 50, component = 0) out vec3 bf;
66 layout(location = 51, component = 1) out double dfo; // ERROR, odd component
67 layout(location = 52, component = 2) out dvec2 dvo; // ERROR, overflow
68 layout(location = 53) out double dfo2;
69 layout(location = 53, component = 2) out vec2 ffv2; // okay, fits
70 layout(location = 54) out dvec4 dvec4out; // uses up location 55 too
71 layout(location = 55) out float overf; // ERROR, collides with previous dvec4
72 layout(location = 56, component = 1) out vec2 df2o;
73 layout(location = 56, component = 3) out float sf2o;
74 layout(location = 57, component = 2) out vec2 dv3o;
75 layout(location = 57, component = 3) out float sf4o; // ERROR, overlapping component
76 layout(location=58) out flat dvec3 dv3o2; // uses part of location 59
77 layout(location=59, component=2) out flat double dfo3; // okay, fits
78 layout(location=59, component=0) out flat double dfo4; // ERROR, overlaps the dvec3 in starting i…