aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2022-01-25 12:16:06 -0500
committerLioncash <mathew1800@gmail.com>2022-01-25 12:16:09 -0500
commitb46ec4efea992acf6a9074dc8f916cbea7eae27c (patch)
tree63109d94fca761ef7e26366c21f88b35651db899
parent2136ebccd65a27bc4aa64e5f9174abd994247641 (diff)
shader_recompiler: Remove unnecessary [[nodiscard]]
Since ConvertLegacyToGeneric has a void return value, there's nothing that is actually returned by the function.
-rw-r--r--src/shader_recompiler/frontend/maxwell/translate_program.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate_program.h b/src/shader_recompiler/frontend/maxwell/translate_program.h
index cd535f20d6..eac83da9dc 100644
--- a/src/shader_recompiler/frontend/maxwell/translate_program.h
+++ b/src/shader_recompiler/frontend/maxwell/translate_program.h
@@ -21,7 +21,6 @@ namespace Shader::Maxwell {
[[nodiscard]] IR::Program MergeDualVertexPrograms(IR::Program& vertex_a, IR::Program& vertex_b,
Environment& env_vertex_b);
-[[nodiscard]] void ConvertLegacyToGeneric(IR::Program& program,
- const Shader::RuntimeInfo& runtime_info);
+void ConvertLegacyToGeneric(IR::Program& program, const RuntimeInfo& runtime_info);
} // namespace Shader::Maxwell