summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/ir_opt/passes.h
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-11-11 03:32:53 +0100
committerGitHub <noreply@github.com>2022-11-11 03:32:53 +0100
commitc9bb888adf228a646ede2c99e8450207c612fe42 (patch)
tree1a098df07c3a1e8e57f47d58fe1f02ca2bf79e05 /src/shader_recompiler/ir_opt/passes.h
parentMerge pull request #9198 from liamwhite/arm64 (diff)
downloadyuzu-c9bb888adf228a646ede2c99e8450207c612fe42.tar
yuzu-c9bb888adf228a646ede2c99e8450207c612fe42.tar.gz
yuzu-c9bb888adf228a646ede2c99e8450207c612fe42.tar.bz2
yuzu-c9bb888adf228a646ede2c99e8450207c612fe42.tar.lz
yuzu-c9bb888adf228a646ede2c99e8450207c612fe42.tar.xz
yuzu-c9bb888adf228a646ede2c99e8450207c612fe42.tar.zst
yuzu-c9bb888adf228a646ede2c99e8450207c612fe42.zip
Diffstat (limited to 'src/shader_recompiler/ir_opt/passes.h')
-rw-r--r--src/shader_recompiler/ir_opt/passes.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/shader_recompiler/ir_opt/passes.h b/src/shader_recompiler/ir_opt/passes.h
index 24f609d69..586a0668f 100644
--- a/src/shader_recompiler/ir_opt/passes.h
+++ b/src/shader_recompiler/ir_opt/passes.h
@@ -6,6 +6,10 @@
#include "shader_recompiler/environment.h"
#include "shader_recompiler/frontend/ir/program.h"
+namespace Shader {
+struct HostTranslateInfo;
+}
+
namespace Shader::Optimization {
void CollectShaderInfoPass(Environment& env, IR::Program& program);
@@ -18,7 +22,7 @@ void LowerInt64ToInt32(IR::Program& program);
void RescalingPass(IR::Program& program);
void SsaRewritePass(IR::Program& program);
void PositionPass(Environment& env, IR::Program& program);
-void TexturePass(Environment& env, IR::Program& program);
+void TexturePass(Environment& env, IR::Program& program, const HostTranslateInfo& host_info);
void VerificationPass(const IR::Program& program);
// Dual Vertex