summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-11-18 12:34:34 +0100
committerFernando Sahmkow <fsahmkow27@gmail.com>2019-11-18 12:34:34 +0100
commitc8473f399e745993d2b9980f4ef62fa6a208ec3d (patch)
treeaf8d64c9a361cb600ec2521f05b5faef0bb76da0 /src/video_core/renderer_opengl
parentShader_IR: Implement TXD instruction. (diff)
downloadyuzu-c8473f399e745993d2b9980f4ef62fa6a208ec3d.tar
yuzu-c8473f399e745993d2b9980f4ef62fa6a208ec3d.tar.gz
yuzu-c8473f399e745993d2b9980f4ef62fa6a208ec3d.tar.bz2
yuzu-c8473f399e745993d2b9980f4ef62fa6a208ec3d.tar.lz
yuzu-c8473f399e745993d2b9980f4ef62fa6a208ec3d.tar.xz
yuzu-c8473f399e745993d2b9980f4ef62fa6a208ec3d.tar.zst
yuzu-c8473f399e745993d2b9980f4ef62fa6a208ec3d.zip
Diffstat (limited to 'src/video_core/renderer_opengl')
-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 49f0b1620..f7b77711a 100644
--- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
@@ -1815,7 +1815,7 @@ private:
ASSERT(meta);
std::string expr = GenerateTexture(operation, "Grad", {TextureDerivates{}, TextureAoffi{}});
- return {expr + GetSwizzle(meta->element), Type::Float};
+ return {std::move(expr) + GetSwizzle(meta->element), Type::Float};
}
Expression ImageLoad(Operation operation) {