mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-18 07:17:53 +00:00
video_core: Implement maxwell3d draw texture method
This commit is contained in:
parent
0415135f8c
commit
79268b94de
7 changed files with 177 additions and 1 deletions
13
src/video_core/host_shaders/blit_color_float.frag
Normal file
13
src/video_core/host_shaders/blit_color_float.frag
Normal file
|
@ -0,0 +1,13 @@
|
|||
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue