From 175fe8aaebfd04e17e13bd2520598645b35c3167 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 9 May 2019 18:45:24 -0400 Subject: video_core/renderer_opengl/gl_shader_decompiler: Remove unused Composite() function This isn't used at all, so it can be removed. --- src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp index ef1a1995f..1a62795e1 100644 --- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp +++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp @@ -871,17 +871,6 @@ private: return {}; } - std::string Composite(Operation operation) { - std::string value = "vec4("; - for (std::size_t i = 0; i < 4; ++i) { - value += Visit(operation[i]); - if (i < 3) - value += ", "; - } - value += ')'; - return value; - } - template std::string Add(Operation operation) { return GenerateBinaryInfix(operation, "+", type, type, type); -- cgit v1.2.3