Task-number: QTBUG-124453 Change-Id: Ib0923de6e33eb0a698c6cd44583a0a860c5c468c Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
15 lines
306 B
GLSL
15 lines
306 B
GLSL
// 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;
|
|
}
|