summaryrefslogtreecommitdiff
path: root/src/video_core/host_shaders
diff options
context:
space:
mode:
authorGravatar Feng Chen2023-01-05 12:27:41 +0800
committerGravatar Feng Chen2023-01-05 12:41:28 +0800
commit1e8cee2ddfeb87d4501f66197625a31c09b57e48 (patch)
tree1a0a5c62497e765222354825bdea05b54398747e /src/video_core/host_shaders
parentMerge pull request #9501 from FernandoS27/yfc-rel-2 (diff)
downloadyuzu-1e8cee2ddfeb87d4501f66197625a31c09b57e48.tar.gz
yuzu-1e8cee2ddfeb87d4501f66197625a31c09b57e48.tar.xz
yuzu-1e8cee2ddfeb87d4501f66197625a31c09b57e48.zip
video_core: Implement maxwell3d draw texture method
Diffstat (limited to 'src/video_core/host_shaders')
-rw-r--r--src/video_core/host_shaders/blit_color_float.frag13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/video_core/host_shaders/blit_color_float.frag b/src/video_core/host_shaders/blit_color_float.frag
new file mode 100644
index 000000000..c0c832296
--- /dev/null
+++ b/src/video_core/host_shaders/blit_color_float.frag
@@ -0,0 +1,13 @@
1// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#version 450
5
6layout(binding = 0) uniform sampler2D tex;
7
8layout(location = 0) in vec2 texcoord;
9layout(location = 0) out vec4 color;
10
11void main() {
12 color = textureLod(tex, texcoord, 0);
13}