diff options
| author | 2019-05-09 18:45:24 -0400 | |
|---|---|---|
| committer | 2019-05-09 18:45:26 -0400 | |
| commit | 175fe8aaebfd04e17e13bd2520598645b35c3167 (patch) | |
| tree | c4a11ad1ce6ad2db8e3f7f6754fdd0b43bb673fe /src/video_core | |
| parent | video_core/renderer_opengl/gl_rasterizer_cache: Remove unused variable in Upl... (diff) | |
| download | yuzu-175fe8aaebfd04e17e13bd2520598645b35c3167.tar.gz yuzu-175fe8aaebfd04e17e13bd2520598645b35c3167.tar.xz yuzu-175fe8aaebfd04e17e13bd2520598645b35c3167.zip | |
video_core/renderer_opengl/gl_shader_decompiler: Remove unused Composite() function
This isn't used at all, so it can be removed.
Diffstat (limited to 'src/video_core')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 11 |
1 files changed, 0 insertions, 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: | |||
| 871 | return {}; | 871 | return {}; |
| 872 | } | 872 | } |
| 873 | 873 | ||
| 874 | std::string Composite(Operation operation) { | ||
| 875 | std::string value = "vec4("; | ||
| 876 | for (std::size_t i = 0; i < 4; ++i) { | ||
| 877 | value += Visit(operation[i]); | ||
| 878 | if (i < 3) | ||
| 879 | value += ", "; | ||
| 880 | } | ||
| 881 | value += ')'; | ||
| 882 | return value; | ||
| 883 | } | ||
| 884 | |||
| 885 | template <Type type> | 874 | template <Type type> |
| 886 | std::string Add(Operation operation) { | 875 | std::string Add(Operation operation) { |
| 887 | return GenerateBinaryInfix(operation, "+", type, type, type); | 876 | return GenerateBinaryInfix(operation, "+", type, type, type); |