From dd7595a3475407a7fa96a97393bae8c5220e8762 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Wed, 4 Jan 2012 18:41:13 +1000 Subject: Add the base Enlightenment Foundation Libraries - eina, eet, evas, ecore, embryo, and edje. Note that embryo wont be used, but I'm not sure yet if you can build edje without it. --- .../src/modules/engines/gl_common/shader/nv12_vert.shd | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 libraries/evas/src/modules/engines/gl_common/shader/nv12_vert.shd (limited to 'libraries/evas/src/modules/engines/gl_common/shader/nv12_vert.shd') diff --git a/libraries/evas/src/modules/engines/gl_common/shader/nv12_vert.shd b/libraries/evas/src/modules/engines/gl_common/shader/nv12_vert.shd new file mode 100644 index 0000000..eb7cc36 --- /dev/null +++ b/libraries/evas/src/modules/engines/gl_common/shader/nv12_vert.shd @@ -0,0 +1,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 = tex_coord2 * 0.25; +} -- cgit v1.1