summaryrefslogtreecommitdiffstats
path: root/src/video_core/host_shaders/opengl_present.frag
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/host_shaders/opengl_present.frag')
-rw-r--r--src/video_core/host_shaders/opengl_present.frag10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/video_core/host_shaders/opengl_present.frag b/src/video_core/host_shaders/opengl_present.frag
new file mode 100644
index 000000000..8a4cb024b
--- /dev/null
+++ b/src/video_core/host_shaders/opengl_present.frag
@@ -0,0 +1,10 @@
+#version 430 core
+
+layout (location = 0) in vec2 frag_tex_coord;
+layout (location = 0) out vec4 color;
+
+layout (binding = 0) uniform sampler2D color_texture;
+
+void main() {
+ color = vec4(texture(color_texture, frag_tex_coord).rgb, 1.0f);
+}