File: blit.vert

package info (click to toggle)
megapixels 2.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,884 kB
  • sloc: ansic: 6,556; python: 442; xml: 374; sh: 116; makefile: 3
file content (18 lines) | stat: -rw-r--r-- 236 bytes parent folder | download | duplicates (3)
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);
}