summaryrefslogtreecommitdiffstats
path: root/tests/manual/qopenglwidget/dockedopenglwidget/vshader.glsl
blob: 098eda946efd1fc7af2cf3719bbdc8f4e9eaaf85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
uniform mat4 mvp_matrix;

attribute vec4 a_position;
attribute vec2 a_texcoord;

varying vec2 v_texcoord;

void main()
{
    gl_Position = mvp_matrix * a_position;
    v_texcoord = a_texcoord;
}