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