mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-14 00:37:46 +00: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
af21c30808
commit
0feddedab1
1 changed files with 0 additions and 11 deletions
|
@ -871,17 +871,6 @@ private:
|
||||||
return {};
|
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>
|
template <Type type>
|
||||||
std::string Add(Operation operation) {
|
std::string Add(Operation operation) {
|
||||||
return GenerateBinaryInfix(operation, "+", type, type, type);
|
return GenerateBinaryInfix(operation, "+", type, type, type);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue