]> git.sesse.net Git - nageru/blobdiff - vs.vert
Fix an issue where we would lose >1 ms for computing flow on NVIDIA, due to lack...
[nageru] / vs.vert
diff --git a/vs.vert b/vs.vert
index a8bf48e4832c5aec737939852b5c77393819e120..b57341b31502a0efdbbc9c40761227ae4f439d31 100644 (file)
--- a/vs.vert
+++ b/vs.vert
@@ -1,7 +1,6 @@
 #version 450 core
 
 in vec2 position;
-in vec2 texcoord;
 out vec2 tc;
 
 void main()
@@ -13,5 +12,5 @@ void main()
        //   0.000  0.000 -2.000 -1.000
        //   0.000  0.000  0.000  1.000
        gl_Position = vec4(2.0 * position.x - 1.0, 2.0 * position.y - 1.0, -1.0, 1.0);
-       tc = texcoord;
+       tc = position;
 }