diff options
Diffstat (limited to 'tests/manual/qopenglwidget/dockedopenglwidget/vshader.glsl')
-rw-r--r-- | tests/manual/qopenglwidget/dockedopenglwidget/vshader.glsl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/manual/qopenglwidget/dockedopenglwidget/vshader.glsl b/tests/manual/qopenglwidget/dockedopenglwidget/vshader.glsl new file mode 100644 index 0000000000..098eda946e --- /dev/null +++ b/tests/manual/qopenglwidget/dockedopenglwidget/vshader.glsl @@ -0,0 +1,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; +} |