summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHexagon12 <Hexagon12@users.noreply.github.com>2019-04-23 17:29:29 +0200
committerGitHub <noreply@github.com>2019-04-23 17:29:29 +0200
commitb2fbcaae30b222b11dec3b78c539f91677603bfe (patch)
treeeacc902d481df17fa325f87b856c616bf5e74bb7 /src
parentMerge pull request #2383 from ReinUsesLisp/aoffi-test (diff)
parentApply Position Y Direction (diff)
downloadyuzu-b2fbcaae30b222b11dec3b78c539f91677603bfe.tar
yuzu-b2fbcaae30b222b11dec3b78c539f91677603bfe.tar.gz
yuzu-b2fbcaae30b222b11dec3b78c539f91677603bfe.tar.bz2
yuzu-b2fbcaae30b222b11dec3b78c539f91677603bfe.tar.lz
yuzu-b2fbcaae30b222b11dec3b78c539f91677603bfe.tar.xz
yuzu-b2fbcaae30b222b11dec3b78c539f91677603bfe.tar.zst
yuzu-b2fbcaae30b222b11dec3b78c539f91677603bfe.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_gen.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_gen.cpp b/src/video_core/renderer_opengl/gl_shader_gen.cpp
index c055005ed..6abf948f8 100644
--- a/src/video_core/renderer_opengl/gl_shader_gen.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_gen.cpp
@@ -58,6 +58,9 @@ void main() {
}
out += R"(
+
+ // Set Position Y direction
+ position.y *= utof(config_pack[2]);
// Check if the flip stage is VertexB
// Config pack's second value is flip_stage
if (config_pack[1] == 1) {