aboutsummaryrefslogtreecommitdiff
path: root/Test/iomap.variableOutBlockIn.geom
blob: 637ddabbaa2c94022ed101c2ef9ff4418ebbf1fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#version 440

layout(triangles) in;
layout(triangle_strip, max_vertices=3) out;

layout(location = 0) in Inputs {
    vec4 a1;
    vec2 a2;
} gin[3];

layout(location = 0) out vec4 a1;
layout(location = 1) out vec2 a2;

void main()
{
    a1 = vec4(1.0);
    a2 = vec2(0.5);
    gl_Position = vec4(1.0);
}