summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/rhi/qrhi/data/tessinterfaceblocks.vert
blob: 7c722bb3742d4fcba93ec917e1c5e3bd5f9e2e4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#version 440

layout(location = 0) in vec3 position;
layout(location = 1) in vec3 color;


layout(location = 4) out VertOut
{
    vec3 v_color;
    int a;
    float b;
};

void main()
{
    gl_Position = vec4(position, 1.0);
    v_color = color;
    a = gl_VertexIndex;
    b = 13.0f + gl_VertexIndex;
}