1#version 150 core
2
3/*
4  horizontal.vert
5
6  This file is part of GammaRay, the Qt application inspection and
7  manipulation tool.
8
9  Copyright (C) 2011-2021 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com
10  Author: Daniel Vrátil <daniel.vratil@kdab.com>
11
12  Licensees holding valid commercial KDAB GammaRay licenses may use this file in
13  accordance with GammaRay Commercial License Agreement provided with the Software.
14
15  Contact info@kdab.com if any conditions of this licensing are not clear to you.
16
17  This program is free software; you can redistribute it and/or modify
18  it under the terms of the GNU General Public License as published by
19  the Free Software Foundation, either version 2 of the License, or
20  (at your option) any later version.
21
22  This program is distributed in the hope that it will be useful,
23  but WITHOUT ANY WARRANTY; without even the implied warranty of
24  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
25  GNU General Public License for more details.
26
27  You should have received a copy of the GNU General Public License
28  along with this program.  If not, see <http://www.gnu.org/licenses/>.
29*/
30
31in vec3 vertexPosition;
32
33out VertexData {
34  vec3 vertexPosition;
35} vs_out;
36
37uniform mat4 mvp;
38
39void main(void)
40{
41    vs_out.vertexPosition = vertexPosition;
42    gl_Position = mvp * vec4(vertexPosition, 1.0);
43}
44