diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/evas/src/modules/engines/gl_common/shader/nv12_nomul_vert.shd | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/nv12_nomul_vert.shd b/libraries/evas/src/modules/engines/gl_common/shader/nv12_nomul_vert.shd new file mode 100644 index 0000000..994f5e6 --- /dev/null +++ b/libraries/evas/src/modules/engines/gl_common/shader/nv12_nomul_vert.shd | |||
@@ -0,0 +1,14 @@ | |||
1 | #ifdef GL_ES | ||
2 | precision highp float; | ||
3 | #endif | ||
4 | attribute vec4 vertex; | ||
5 | attribute vec4 color; | ||
6 | attribute vec2 tex_coord, tex_coord2; | ||
7 | uniform mat4 mvp; | ||
8 | varying vec2 tex_c, tex_cuv; | ||
9 | void main() | ||
10 | { | ||
11 | gl_Position = mvp * vertex; | ||
12 | tex_c = tex_coord; | ||
13 | tex_cuv = tex_coord2 * 0.25; | ||
14 | } | ||