summaryrefslogtreecommitdiffstats
path: root/third_party/gles2_book/Chapter_13/ProceduralTextures/checker.vs
blob: 88375ba072e56f8a9e994872108c701441339dcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

uniform mat4    mvp_matrix;

attribute vec4  a_position;
attribute vec2  a_st;

varying vec2    v_st;

void
main()
{
    v_st = a_st;
    gl_Position = mvp_matrix * a_position;
}