Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Add qemu 2.4.0
[kvmfornfv.git]
/
qemu
/
ui
/
shader
/
texture-blit.vert
diff --git a/qemu/ui/shader/texture-blit.vert
b/qemu/ui/shader/texture-blit.vert
new file mode 100644
(file)
index 0000000..
6fe2744
--- /dev/null
+++ b/
qemu/ui/shader/texture-blit.vert
@@ -0,0
+1,10
@@
+
+#version 300 es
+
+in vec2 in_position;
+out vec2 ex_tex_coord;
+
+void main(void) {
+ gl_Position = vec4(in_position, 0.0, 1.0);
+ ex_tex_coord = vec2(1.0 + in_position.x, 1.0 - in_position.y) * 0.5;
+}