summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-11-08 21:56:29 +0100
committerGitHub <noreply@github.com>2019-11-08 21:56:29 +0100
commita056d8de162491ce5a47bc6ab3699fe929dbe63d (patch)
treed24fdb47bf4e6d2d46dcd523f97ba0d009e33531 /src
parentMerge pull request #3032 from ReinUsesLisp/simplify-control-flow-brx (diff)
parentGLSLDecompiler: Correct Texture Gather Offset. (diff)
downloadyuzu-a056d8de162491ce5a47bc6ab3699fe929dbe63d.tar
yuzu-a056d8de162491ce5a47bc6ab3699fe929dbe63d.tar.gz
yuzu-a056d8de162491ce5a47bc6ab3699fe929dbe63d.tar.bz2
yuzu-a056d8de162491ce5a47bc6ab3699fe929dbe63d.tar.lz
yuzu-a056d8de162491ce5a47bc6ab3699fe929dbe63d.tar.xz
yuzu-a056d8de162491ce5a47bc6ab3699fe929dbe63d.tar.zst
yuzu-a056d8de162491ce5a47bc6ab3699fe929dbe63d.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_decompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
index 92ee8459e..0ce59a852 100644
--- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
@@ -1670,7 +1670,7 @@ private:
const auto type = meta->sampler.IsShadow() ? Type::Float : Type::Int;
return {GenerateTexture(operation, "Gather",
- {TextureArgument{type, meta->component}, TextureAoffi{}}) +
+ {TextureAoffi{}, TextureArgument{type, meta->component}}) +
GetSwizzle(meta->element),
Type::Float};
}