ir/texture_pass: Use host_info instead of querying Settings::values (#9176)

This commit is contained in:
Morph
2022-11-10 21:32:53 -05:00
committed by GitHub
parent d05b183f21
commit c9bb888adf
12 changed files with 23 additions and 16 deletions

View File

@ -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