diff options
Diffstat (limited to '')
| -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: | |||
| 216 | } | 216 | } |
| 217 | 217 | ||
| 218 | /// Returns a GLSL string representing the current state of the register | 218 | /// Returns a GLSL string representing the current state of the register |
| 219 | const std::string GetActiveString() { | 219 | std::string GetActiveString() { |
| 220 | declr_type.insert(active_type); | 220 | declr_type.insert(active_type); |
| 221 | return GetPrefixString(active_type) + std::to_string(index) + '_' + suffix; | 221 | return GetPrefixString(active_type) + std::to_string(index) + '_' + suffix; |
| 222 | } | 222 | } |
| @@ -518,7 +518,7 @@ public: | |||
| 518 | 518 | ||
| 519 | private: | 519 | private: |
| 520 | /// Build GLSL conversion function, e.g. floatBitsToInt, intBitsToFloat, etc. | 520 | /// Build GLSL conversion function, e.g. floatBitsToInt, intBitsToFloat, etc. |
| 521 | const std::string GetGLSLConversionFunc(GLSLRegister::Type src, GLSLRegister::Type dest) const { | 521 | std::string GetGLSLConversionFunc(GLSLRegister::Type src, GLSLRegister::Type dest) const { |
| 522 | const std::string src_type = GLSLRegister::GetTypeString(src); | 522 | const std::string src_type = GLSLRegister::GetTypeString(src); |
| 523 | std::string dest_type = GLSLRegister::GetTypeString(dest); | 523 | std::string dest_type = GLSLRegister::GetTypeString(dest); |
| 524 | dest_type[0] = toupper(dest_type[0]); | 524 | dest_type[0] = toupper(dest_type[0]); |