summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/video_core/host_shaders/CMakeLists.txt1
-rw-r--r--src/video_core/host_shaders/vulkan_blit_color_float.frag14
2 files changed, 15 insertions, 0 deletions
diff --git a/src/video_core/host_shaders/CMakeLists.txt b/src/video_core/host_shaders/CMakeLists.txt
index 6084984f9..5b24f9866 100644
--- a/src/video_core/host_shaders/CMakeLists.txt
+++ b/src/video_core/host_shaders/CMakeLists.txt
@@ -8,6 +8,7 @@ set(SHADER_FILES
8 opengl_present.frag 8 opengl_present.frag
9 opengl_present.vert 9 opengl_present.vert
10 pitch_unswizzle.comp 10 pitch_unswizzle.comp
11 vulkan_blit_color_float.frag
11 vulkan_present.frag 12 vulkan_present.frag
12 vulkan_present.vert 13 vulkan_present.vert
13) 14)
diff --git a/src/video_core/host_shaders/vulkan_blit_color_float.frag b/src/video_core/host_shaders/vulkan_blit_color_float.frag
new file mode 100644
index 000000000..4a6aae410
--- /dev/null
+++ b/src/video_core/host_shaders/vulkan_blit_color_float.frag
@@ -0,0 +1,14 @@
1// Copyright 2020 yuzu Emulator Project
2// Licensed under GPLv2 or any later version
3// Refer to the license.txt file included.
4
5#version 450
6
7layout(binding = 0) uniform sampler2D tex;
8
9layout(location = 0) in vec2 texcoord;
10layout(location = 0) out vec4 color;
11
12void main() {
13 color = textureLod(tex, texcoord, 0);
14}