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.frag
diff --git a/qemu/ui/shader/texture-blit.frag
b/qemu/ui/shader/texture-blit.frag
new file mode 100644
(file)
index 0000000..
bfa202c
--- /dev/null
+++ b/
qemu/ui/shader/texture-blit.frag
@@ -0,0
+1,10
@@
+
+#version 300 es
+
+uniform sampler2D image;
+in mediump vec2 ex_tex_coord;
+out mediump vec4 out_frag_color;
+
+void main(void) {
+ out_frag_color = texture(image, ex_tex_coord);
+}