From 07e5742b33364530dcb27835d7d62eeb84b07c95 Mon Sep 17 00:00:00 2001 From: davilla Date: Tue, 18 May 2010 07:29:17 +0000 Subject: [arm] merge arm-camelot into trunk, thanks to mcgeagh for all his hard working getting arm platform rolling git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30281 568bbfeb-2a22-0410-94d2-cc84cf5bfa90 --- system/shaders/yuv2rgb_vertex_gles.glsl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 system/shaders/yuv2rgb_vertex_gles.glsl (limited to 'system/shaders/yuv2rgb_vertex_gles.glsl') diff --git a/system/shaders/yuv2rgb_vertex_gles.glsl b/system/shaders/yuv2rgb_vertex_gles.glsl new file mode 100644 index 0000000000..ee0c70a37d --- /dev/null +++ b/system/shaders/yuv2rgb_vertex_gles.glsl @@ -0,0 +1,18 @@ +attribute vec4 m_attrpos; +attribute vec2 m_attrcordY; +attribute vec2 m_attrcordU; +attribute vec2 m_attrcordV; +varying vec2 m_cordY; +varying vec2 m_cordU; +varying vec2 m_cordV; +uniform mat4 m_proj; +uniform mat4 m_model; + +void main () +{ + mat4 mvp = m_proj * m_model; + gl_Position = mvp * m_attrpos; + m_cordY = m_attrcordY; + m_cordU = m_attrcordU; + m_cordV = m_attrcordV; +} -- cgit v1.2.3