host_shaders: Add texture color blit fragment shader

This commit is contained in:
ReinUsesLisp 2020-12-30 02:00:48 -03:00
parent 64fbf319f1
commit ae5725b709
2 changed files with 15 additions and 0 deletions

View File

@ -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
) )

View File

@ -0,0 +1,14 @@
// 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);
}