1 # Tests passing double values through a geometry shader.
10 layout(location = 0) out double OutDouble;
12 void main() { OutDouble = 1.234; }
18 layout(triangle_strip, max_vertices = 3) out;
20 layout(location = 0) in double InDouble[3];
21 layout(location = 0) out double OutDouble;
24 gl_Position = vec4(0);
26 for(int i = 0; i < 3; i++) {
27 OutDouble = InDouble[i];
37 layout(location = 0) flat in double InDouble;
38 layout(location = 0, index = 0) out vec4 Color;
40 void main() { Color = float(InDouble).xxxx; }
43 draw arrays POINT_LIST 0 1