eglglessink: GLSL: Drop unneded nxy vec2
authorReynaldo H. Verdejo Pinochet <reynaldo@collabora.com>
Wed, 10 Oct 2012 06:02:21 +0000 (03:02 -0300)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 18 Oct 2012 12:35:18 +0000 (14:35 +0200)
ext/eglgles/gsteglglessink.c

index 61f7ba7ca230c216bb9badedb20fa926de780444..7235b073aefc5aee7e7a0c761403a31a366febe0 100644 (file)
@@ -225,8 +225,7 @@ static const char *frag_AYUV_prog = {
       "void main(void) {"
       "  float r,g,b;"
       "  vec3 yuv;"
-      "  vec2 nxy = opos.xy;"
-      "  yuv  = texture2D(tex,nxy).gba;"
+      "  yuv  = texture2D(tex,opos.xy).gba;"
       "  yuv += offset;"
       "  r = dot(yuv, rcoeff);"
       "  g = dot(yuv, gcoeff);"