aboutsummaryrefslogtreecommitdiff
path: root/pacc/glsl/blit.vert
diff options
context:
space:
mode:
Diffstat (limited to 'pacc/glsl/blit.vert')
-rw-r--r--pacc/glsl/blit.vert7
1 files changed, 7 insertions, 0 deletions
diff --git a/pacc/glsl/blit.vert b/pacc/glsl/blit.vert
new file mode 100644
index 0000000..4232a8d
--- /dev/null
+++ b/pacc/glsl/blit.vert
@@ -0,0 +1,7 @@
+attribute vec4 coord;
+varying vec2 texcoord;
+void main(void) {
+ gl_Position = vec4(coord.xy, 0.0, 1.0);
+ texcoord = coord.zw;
+}
+