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