File: blit.vert

package info (click to toggle)
megapixels 2.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,876 kB
  • sloc: ansic: 6,530; python: 442; xml: 367; sh: 116; makefile: 3
file content (18 lines) | stat: -rw-r--r-- 236 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifdef GL_ES
precision mediump float;
#endif

attribute vec2 vert;
attribute vec2 tex_coord;

uniform mat3 transform;

varying vec2 uv;

void
main()
{
        uv = tex_coord;

        gl_Position = vec4(transform * vec3(vert, 1), 1);
}