aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/yuv.vert
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sludge/yuv.vert')
-rw-r--r--engines/sludge/yuv.vert12
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/sludge/yuv.vert b/engines/sludge/yuv.vert
new file mode 100644
index 0000000000..28613b6c90
--- /dev/null
+++ b/engines/sludge/yuv.vert
@@ -0,0 +1,12 @@
+attribute vec4 myVertex;
+attribute vec2 myUV0;
+
+uniform mat4 myPMVMatrix;
+
+varying vec2 varCoord;
+
+void main()
+{
+ gl_Position = myPMVMatrix * myVertex;
+ varCoord = myUV0.st;
+}