Browse Source

Merge pull request #7777 from lioncash/nodisc

shader_recompiler: Remove unnecessary [[nodiscard]] specifier
Morph 4 years ago
parent
commit
84cc22b21b
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/shader_recompiler/frontend/maxwell/translate_program.h

+ 1 - 2
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,
 [[nodiscard]] IR::Program MergeDualVertexPrograms(IR::Program& vertex_a, IR::Program& vertex_b,
                                                   Environment& env_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
 } // namespace Shader::Maxwell