From 50c75c12597b230cec4d7a29559cde263025eeb2 Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Fri, 8 Sep 2017 23:25:51 +0900 Subject: pacc: initial --- pacc/glsl/blit.vert | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 pacc/glsl/blit.vert (limited to 'pacc/glsl/blit.vert') 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; +} + -- cgit v1.2.3