diff options
author | bunnei <bunneidev@gmail.com> | 2019-02-25 05:04:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-25 05:04:22 +0100 |
commit | c07987dfab78e32a14ea3cb883f71323c99ad034 (patch) | |
tree | 1da5948cc12c8261b5e740ce14d3cccee78e0536 /src/video_core/renderer_opengl/gl_shader_gen.cpp | |
parent | Merge pull request #2119 from FernandoS27/fix-copy (diff) | |
parent | shader_decompiler: Improve Accuracy of Attribute Interpolation. (diff) | |
download | yuzu-c07987dfab78e32a14ea3cb883f71323c99ad034.tar yuzu-c07987dfab78e32a14ea3cb883f71323c99ad034.tar.gz yuzu-c07987dfab78e32a14ea3cb883f71323c99ad034.tar.bz2 yuzu-c07987dfab78e32a14ea3cb883f71323c99ad034.tar.lz yuzu-c07987dfab78e32a14ea3cb883f71323c99ad034.tar.xz yuzu-c07987dfab78e32a14ea3cb883f71323c99ad034.tar.zst yuzu-c07987dfab78e32a14ea3cb883f71323c99ad034.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_shader_gen.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_gen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_gen.cpp b/src/video_core/renderer_opengl/gl_shader_gen.cpp index 04e1db911..7d96649af 100644 --- a/src/video_core/renderer_opengl/gl_shader_gen.cpp +++ b/src/video_core/renderer_opengl/gl_shader_gen.cpp @@ -124,7 +124,7 @@ layout (location = 5) out vec4 FragColor5; layout (location = 6) out vec4 FragColor6; layout (location = 7) out vec4 FragColor7; -layout (location = 0) in vec4 position; +layout (location = 0) in noperspective vec4 position; layout (std140, binding = EMULATION_UBO_BINDING) uniform fs_config { vec4 viewport_flip; @@ -172,4 +172,4 @@ void main() { return {out, program.second}; } -} // namespace OpenGL::GLShader
\ No newline at end of file +} // namespace OpenGL::GLShader |