aboutsummaryrefslogtreecommitdiff
path: root/pacc/glsl/blit.vert
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2017-09-08 23:25:51 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2017-09-08 23:25:51 +0900
commit50c75c12597b230cec4d7a29559cde263025eeb2 (patch)
tree9fa8afe8bcf6e1219186e5c567930831a3b5eab5 /pacc/glsl/blit.vert
parent4cfeddd04dcbbf658195bd837d7daff7f08b37bc (diff)
pacc: initial
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;
+}
+