aboutsummaryrefslogtreecommitdiff
path: root/ui/shader/texture-blit.frag
diff options
context:
space:
mode:
Diffstat (limited to 'ui/shader/texture-blit.frag')
-rw-r--r--ui/shader/texture-blit.frag10
1 files changed, 10 insertions, 0 deletions
diff --git a/ui/shader/texture-blit.frag b/ui/shader/texture-blit.frag
new file mode 100644
index 0000000000..bfa202c22b
--- /dev/null
+++ b/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);
+}