summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/maxwell/translate_program.h
diff options
context:
space:
mode:
authorGravatar Feng Chen2021-11-19 15:32:53 +0800
committerGravatar vonchenplus2021-11-19 22:53:58 +0800
commit4dd85f86a89338ff84d05a3981c14f6de1be4606 (patch)
treeb2a48b24bf216a325e62f5e363bc98b41de84444 /src/shader_recompiler/frontend/maxwell/translate_program.h
parentMerge pull request #7349 from ameerj/ogl-convert-image (diff)
downloadyuzu-4dd85f86a89338ff84d05a3981c14f6de1be4606.tar.gz
yuzu-4dd85f86a89338ff84d05a3981c14f6de1be4606.tar.xz
yuzu-4dd85f86a89338ff84d05a3981c14f6de1be4606.zip
Implement convert legacy to generic
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 @@
10#include "shader_recompiler/frontend/maxwell/control_flow.h" 10#include "shader_recompiler/frontend/maxwell/control_flow.h"
11#include "shader_recompiler/host_translate_info.h" 11#include "shader_recompiler/host_translate_info.h"
12#include "shader_recompiler/object_pool.h" 12#include "shader_recompiler/object_pool.h"
13#include "shader_recompiler/runtime_info.h"
13 14
14namespace Shader::Maxwell { 15namespace Shader::Maxwell {
15 16
@@ -20,4 +21,7 @@ namespace Shader::Maxwell {
20[[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,
21 Environment& env_vertex_b); 22 Environment& env_vertex_b);
22 23
24[[nodiscard]] void ConvertLegacyToGeneric(IR::Program& program,
25 const Shader::RuntimeInfo& runtime_info);
26
23} // namespace Shader::Maxwell 27} // namespace Shader::Maxwell