Warning, /graphics/krita/krita/data/shaders/matrix_transform.vert is written in an unsupported language. File is not indexed.

0001 /*
0002  * Vertex shader for handling scaling
0003  *
0004  * SPDX-License-Identifier: GPL-3.0-or-later
0005  */
0006 
0007 uniform mat4 modelViewProjection;
0008 uniform mat4 textureMatrix;
0009 
0010 in vec4 a_vertexPosition;
0011 in vec4 a_textureCoordinate;
0012 
0013 out vec4 v_textureCoordinate;
0014 
0015 void main()
0016 {
0017     gl_Position = modelViewProjection * a_vertexPosition;
0018     v_textureCoordinate = textureMatrix * a_textureCoordinate;
0019 }