summaryrefslogtreecommitdiff
path: root/src/video_core
diff options
context:
space:
mode:
authorGravatar Lioncash2019-05-09 18:45:24 -0400
committerGravatar Lioncash2019-05-09 18:45:26 -0400
commit175fe8aaebfd04e17e13bd2520598645b35c3167 (patch)
treec4a11ad1ce6ad2db8e3f7f6754fdd0b43bb673fe /src/video_core
parentvideo_core/renderer_opengl/gl_rasterizer_cache: Remove unused variable in Upl... (diff)
downloadyuzu-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.cpp11
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);