Explorar el Código

video_core/renderer_opengl/gl_shader_decompiler: Remove unused Composite() function

This isn't used at all, so it can be removed.
Lioncash hace 7 años
padre
commit
175fe8aaeb
Se han modificado 1 ficheros con 0 adiciones y 11 borrados
  1. 0 11
      src/video_core/renderer_opengl/gl_shader_decompiler.cpp

+ 0 - 11
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 <Type type>
     std::string Add(Operation operation) {
         return GenerateBinaryInfix(operation, "+", type, type, type);