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