diff options
author | Lioncash <mathew1800@gmail.com> | 2018-07-20 02:05:02 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-07-20 02:11:04 +0200 |
commit | c2121cb059f9b9d64afd9f3f62f385ccd37d140c (patch) | |
tree | cb86a6ec34f9432dd0fed61d81e33b5553aeeecc | |
parent | Merge pull request #726 from lioncash/overload (diff) | |
download | yuzu-c2121cb059f9b9d64afd9f3f62f385ccd37d140c.tar yuzu-c2121cb059f9b9d64afd9f3f62f385ccd37d140c.tar.gz yuzu-c2121cb059f9b9d64afd9f3f62f385ccd37d140c.tar.bz2 yuzu-c2121cb059f9b9d64afd9f3f62f385ccd37d140c.tar.lz yuzu-c2121cb059f9b9d64afd9f3f62f385ccd37d140c.tar.xz yuzu-c2121cb059f9b9d64afd9f3f62f385ccd37d140c.tar.zst yuzu-c2121cb059f9b9d64afd9f3f62f385ccd37d140c.zip |
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp index 5fae95788..9b308b923 100644 --- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp +++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp @@ -216,7 +216,7 @@ public: } /// Returns a GLSL string representing the current state of the register - const std::string GetActiveString() { + std::string GetActiveString() { declr_type.insert(active_type); return GetPrefixString(active_type) + std::to_string(index) + '_' + suffix; } @@ -518,7 +518,7 @@ public: private: /// Build GLSL conversion function, e.g. floatBitsToInt, intBitsToFloat, etc. - const std::string GetGLSLConversionFunc(GLSLRegister::Type src, GLSLRegister::Type dest) const { + std::string GetGLSLConversionFunc(GLSLRegister::Type src, GLSLRegister::Type dest) const { const std::string src_type = GLSLRegister::GetTypeString(src); std::string dest_type = GLSLRegister::GetTypeString(dest); dest_type[0] = toupper(dest_type[0]); |