diff options
| author | 2023-01-05 12:27:41 +0800 | |
|---|---|---|
| committer | 2023-01-05 12:41:28 +0800 | |
| commit | 1e8cee2ddfeb87d4501f66197625a31c09b57e48 (patch) | |
| tree | 1a0a5c62497e765222354825bdea05b54398747e /src/video_core/host_shaders | |
| parent | Merge pull request #9501 from FernandoS27/yfc-rel-2 (diff) | |
| download | yuzu-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.frag | 13 |
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 | |||
| 6 | layout(binding = 0) uniform sampler2D tex; | ||
| 7 | |||
| 8 | layout(location = 0) in vec2 texcoord; | ||
| 9 | layout(location = 0) out vec4 color; | ||
| 10 | |||
| 11 | void main() { | ||
| 12 | color = textureLod(tex, texcoord, 0); | ||
| 13 | } | ||