aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/evas/src/modules/engines/gl_common/shader/yuy2_vert.shd
blob: 54efb1e87db06d16c1563530a64c7e1551d90290 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifdef GL_ES
precision highp float;
#endif
attribute vec4 vertex;
attribute vec4 color;
attribute vec2 tex_coord, tex_coord2;
uniform mat4 mvp;
varying vec4 col;
varying vec2 tex_c, tex_cuv;
void main()
{
   gl_Position = mvp * vertex;
   col = color;
   tex_c = tex_coord;
   tex_cuv = vec2(tex_coord2.x * 0.5, tex_coord2.y);
}