summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend
diff options
context:
space:
mode:
authorGravatar Lioncash2022-01-25 12:16:06 -0500
committerGravatar Lioncash2022-01-25 12:16:09 -0500
commitb46ec4efea992acf6a9074dc8f916cbea7eae27c (patch)
tree63109d94fca761ef7e26366c21f88b35651db899 /src/shader_recompiler/frontend
parentMerge pull request #7761 from v1993/patch-8 (diff)
downloadyuzu-b46ec4efea992acf6a9074dc8f916cbea7eae27c.tar.gz
yuzu-b46ec4efea992acf6a9074dc8f916cbea7eae27c.tar.xz
yuzu-b46ec4efea992acf6a9074dc8f916cbea7eae27c.zip
shader_recompiler: Remove unnecessary [[nodiscard]]
Since ConvertLegacyToGeneric has a void return value, there's nothing that is actually returned by the function.
Diffstat (limited to 'src/shader_recompiler/frontend')
-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 cd535f20d..eac83da9d 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 {
21[[nodiscard]] IR::Program MergeDualVertexPrograms(IR::Program& vertex_a, IR::Program& vertex_b, 21[[nodiscard]] IR::Program MergeDualVertexPrograms(IR::Program& vertex_a, IR::Program& vertex_b,
22 Environment& env_vertex_b); 22 Environment& env_vertex_b);
23 23
24[[nodiscard]] void ConvertLegacyToGeneric(IR::Program& program, 24void ConvertLegacyToGeneric(IR::Program& program, const RuntimeInfo& runtime_info);
25 const Shader::RuntimeInfo& runtime_info);
26 25
27} // namespace Shader::Maxwell 26} // namespace Shader::Maxwell