Files
kitty/kitty/graphics_vertex.glsl
Kovid Goyal f2e8877032 ...
2017-10-12 16:10:19 +05:30

10 lines
174 B
GLSL

#version GLSL_VERSION
layout(location=3) in vec4 src;
out vec2 texcoord;
void main() {
texcoord = vec2(src[0], src[1]);
gl_Position = vec4(src[2], src[3], 0, 1);
}