video_core: Implement maxwell3d draw texture method
This commit is contained in:
parent
b78328f19a
commit
1e8cee2ddf
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