Skip to content
Snippets Groups Projects
Commit ae5725b7 authored by ReinUsesLisp's avatar ReinUsesLisp
Browse files

host_shaders: Add texture color blit fragment shader

parent 64fbf319
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,7 @@ set(SHADER_FILES ...@@ -8,6 +8,7 @@ set(SHADER_FILES
opengl_present.frag opengl_present.frag
opengl_present.vert opengl_present.vert
pitch_unswizzle.comp pitch_unswizzle.comp
vulkan_blit_color_float.frag
vulkan_present.frag vulkan_present.frag
vulkan_present.vert vulkan_present.vert
) )
......
// Copyright 2020 yuzu Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#version 450
layout(binding = 0) uniform sampler2D tex;
layout(location = 0) in vec2 texcoord;
layout(location = 0) out vec4 color;
void main() {
color = textureLod(tex, texcoord, 0);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment