summaryrefslogtreecommitdiff
path: root/sway/desktop/shaders/tex.vert
blob: 3026521b6b3237ae3b6b78679c6ece66f5156fc6 (plain)
1
2
3
4
5
6
7
8
9
uniform mat3 proj;
attribute vec2 pos;
attribute vec2 texcoord;
varying vec2 v_texcoord;

void main() {
    gl_Position = vec4(proj * vec3(pos, 1.0), 1.0);
    v_texcoord = texcoord;
}