diff options
Diffstat (limited to 'tests/manual/qopenglwidget/dockedopenglwidget/vshader.glsl')
-rw-r--r-- | tests/manual/qopenglwidget/dockedopenglwidget/vshader.glsl | 14 |
1 files changed, 14 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..10f3646aa6 --- /dev/null +++ b/tests/manual/qopenglwidget/dockedopenglwidget/vshader.glsl @@ -0,0 +1,14 @@ +// Copyright (C) 2024 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +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; +} |