summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/maxwell/translate_program.h
diff options
context:
space:
mode:
authorFernando S <fsahmkow27@gmail.com>2021-12-22 17:36:05 +0100
committerGitHub <noreply@github.com>2021-12-22 17:36:05 +0100
commit648c7b4ed6fb86d6f98a6e19301c53c1ccfdd512 (patch)
tree6e489900becbae18884335745d9e3409761c319e /src/shader_recompiler/frontend/maxwell/translate_program.h
parent36df305b13afc3d91bb7f9694dedab9a84a94130 (diff)
parent4908a07c20f98f4b7dd604d1fc6865b47bc5c182 (diff)
Merge pull request #7375 from vonchenplus/convert_legacy
Convert all legacy attributes to generic attributes
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/translate_program.h')
-rw-r--r--src/shader_recompiler/frontend/maxwell/translate_program.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate_program.h b/src/shader_recompiler/frontend/maxwell/translate_program.h
index a84814811..cd535f20d 100644
--- a/src/shader_recompiler/frontend/maxwell/translate_program.h
+++ b/src/shader_recompiler/frontend/maxwell/translate_program.h
@@ -10,6 +10,7 @@
#include "shader_recompiler/frontend/maxwell/control_flow.h"
#include "shader_recompiler/host_translate_info.h"
#include "shader_recompiler/object_pool.h"
+#include "shader_recompiler/runtime_info.h"
namespace Shader::Maxwell {
@@ -20,4 +21,7 @@ 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);
+
} // namespace Shader::Maxwell