xref: /openbmc/qemu/ui/shader/texture-blit.vert (revision a6caeee8)
1
2#version 300 es
3
4in vec2  in_position;
5out vec2 ex_tex_coord;
6
7void main(void) {
8    gl_Position = vec4(in_position, 0.0, 1.0);
9    ex_tex_coord = vec2(1.0 + in_position.x, 1.0 - in_position.y) * 0.5;
10}
11