mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-12-24 21:11:20 -08:00
video_core/renderer_opengl/gl_shader_decompiler: Remove unused Composite() function
This isn't used at all, so it can be removed.
This commit is contained in:
parent
6d28d288a3
commit
175fe8aaeb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user