summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-11-07 16:30:41 +0100
committerFernandoS27 <fsahmkow27@gmail.com>2019-11-07 16:43:56 +0100
commit3d7c284e0f02eaddae89dac0983535a9650913a0 (patch)
tree2e8e5210a26e7bc37392a59e08b5aeee71521db5 /src
parentMerge pull request #3050 from FernandoS27/fix-tld4 (diff)
downloadyuzu-3d7c284e0f02eaddae89dac0983535a9650913a0.tar
yuzu-3d7c284e0f02eaddae89dac0983535a9650913a0.tar.gz
yuzu-3d7c284e0f02eaddae89dac0983535a9650913a0.tar.bz2
yuzu-3d7c284e0f02eaddae89dac0983535a9650913a0.tar.lz
yuzu-3d7c284e0f02eaddae89dac0983535a9650913a0.tar.xz
yuzu-3d7c284e0f02eaddae89dac0983535a9650913a0.tar.zst
yuzu-3d7c284e0f02eaddae89dac0983535a9650913a0.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 030550c53..8a514cb8a 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};
}